Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.