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 trial

Android

Cannot resolve android.Theme.Material.Light.NoActionBar?

Hello,

For some reason, my app is not resolving android.Theme.Material.Light.NoActionBar. I don't know what this means, but I do know that my app is not working.

Could someone please help me with this?

-Shane

2 Answers

Did you make any changes to res/values/styles.xml ?

From what I can see, no. I didn't make any changes to the styles.xml file.

Ok. Does your styles.xml look like this

<!-- Base application theme. --> <style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar"> <!-- Customize your theme here. --> </style>

Ok. I see you are referencing Material in the parent attribute value. What is your minimum API level?

My minimum API level is the Android 5.0 level, which is 21, I believe.