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
Matt O'Shea
Courses Plus Student 425 PointsApp not running on device
I have no errors in eclipse yet when I try to run the app on my Nexus 7 the message comes up saying "Unfortunately, CrystalBall has stopped working". This happens on every app I try to make. Any ideas on what the problem could be??
4 Answers
Matt Capelli
7,293 PointsHi Matt - Check to make sure your MainActivity.java file is added to your AndroidManifest.xml file.
ryanloerzel
12,671 PointsAfter attempting to launch the app on your device while it's connected to the computer, are there any error messages displayed in logcat? Does the app run normally on the eclipse emulator?
ryanloerzel
12,671 PointsAfter attempting to launch the app on your device while it's connected to the computer, are there any error messages displayed in logcat? Does the app run normally on the eclipse emulator?
simon fraboulet
3,405 PointsHi guys, I have the exact same problem on my tablet and on Genymotion with the same message "Unfortunately, CrystalBall has stopped".
@Matt: how do I exactly add the MainActivity.java file to the AndroidManifest.xml file pls? I don't really get the idea....
@Ryan: on my side, yes there are error messages in logcat when I launch the app (both with the tablet and Genymotion). Any clue?
Thx for the help
Simon