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!
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
Jordan Ernst5,121 Points
MainActivity.java uses or overrides a depricated api. recompile with Xlint
stormy is crashing each time i hit the button. the above question is the only error i am finding through everything. the error started a few lessons ago. please help with this or the other question i posted a few hours ago; either would probably fix the problem
Daniel Hartin18,106 Points
Are you struggling with this still?
I have had this problem a few times with apps of mine, it was usually becuase I was trying to be clever with themes in the android manifest (I hate themes , I can never get them to work :))
I would check you android manifest for a line like the following:
This could be either in the MainActivity section or the application section. The error is saying it should use an appCompat theme a useful stack overflow I found for my problem is here http://stackoverflow.com/questions/21814825/you-need-to-use-a-theme-appcompat-theme-or-descendant-with-this-activity (not sure if you are having the same problem or not)
Hopefully this can get you on the right track if nothing else