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 Build a Simple Android App (retired 2014) Pretty Little Things Customizing Buttons and Labels

Error when trying to build app

After watching this video and following the steps, when I try to run the app I get an error that says 'You need to use a Theme.AppCompat theme (or descendant) with this activity.'. How do I fix this? :)

Thanks!

1 Answer

I've answered the same question here in this forum and it has worked. You might want to check it out. It's a simple change of two lines of code

Theme.AppCompt issue

Hope it helps

Hi Gunjeet.

Thanks for that. I applied your fix and the app started to work again. Thank you, once again. :)