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 trialArshdeep Singh
6,576 PointsI have no errors and the app runs BUT when I run it I get a popup saying that the app has stopped. Why?
There is something weird going on with my app, I have made some changes to my code because these videos are outdated.
Now here is the weird thing: when I click run, the app loads up and a dialog box comes up that says "unfortunately, Ribbit has stopped". If I click 'okay' on the dialog box, my app does not crash; instead I get taken to the login page of the app.
Why is this happening?
2 Answers
Arshdeep Singh
6,576 PointsI would like to post my code here. Is there any particular way to do so (other than copy-paste)?
olivianordquist
9,256 PointsHi, Did you fix it? I had this problem too. I checked the logs and the error was in LoginActivity. I fixed it by putting the requestWindowFeature line before super.onCreate
Jon Kussmann
Courses Plus Student 7,254 PointsJon Kussmann
Courses Plus Student 7,254 PointsHi Arshdeep,
Your code would be very helpful in trying to figure out this error. When you are typing a post, there is a link to the "Markdown Cheatsheet" that shows you how to post code so that it is easier to read.
An alternative is uploading your project to github and posting the link here (would be easier if you've taken the Git tutorial).
If you need more explanation on how to post code, please let me know.