Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialGuilherme Mendonca
3,064 PointsApp theme error
After I changed my AppTheme to "android:Theme.Holo.Light.NoActionBar"
I got this error:
Unable to start activity ComponentInfo{com.guimend.signalsfrommars/com.guimend.signalsfrommars.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
Why MUST I use an AppCompat theme? How can I change it to another one without getting this error?
Jake Grogan
1,380 PointsJake Grogan
1,380 PointsYes do use the AppCompat theme. I tried to use the regular theme as-well and it didn't work. Just use "Theme.AppCompat.Light.NoActionBar". it works the same