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 Implementing Designs for Android Customizing the Login Screen Generating 9-Patch Images

Philippe Rosa
Philippe Rosa
2,914 Points

Editing styles.xml breaks Ribbit.

I get a "Unfortunatelly Ribbit has stopped" dialog message on the emulator (Genymotion) and LogCat says:

06-06 01:48:51.566: E/AndroidRuntime(1225): FATAL EXCEPTION: main 06-06 01:48:51.566: E/AndroidRuntime(1225): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.ribbit/com.example.ribbit.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.

Does anyone know how to fix this? For now I will just checkout the res/values/styles.xml in my Git repo to keep on following the track.

PS: My Android SDK Tools Rev. is 22.6.3 and SDK Platform API is 19.