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 trialGideon Ooi
326 PointsApp forcecloses
Hi, I've got 2 problems:
- The CrystalBall app forcecloses when i start it up in AVD. I'm not sure if it's due to errors in the code or due to there being too little resources devoted to the AVD to run the app.
for my AVD I'm running Android 4.1.2 (API level 16) and I've devoted 100mb disk partition and 50mb SD card; enabled hw gpu.
- I am not able to save the code with this line: "getMenuInflater().inflate(R.menu.activity_main, menu);" under the onCreateOptionsMenu method. Eclipse says activity_menu cannot be resolved or is not a field.
Thanks!
1 Answer
Gideon Ooi
326 Pointsfound the answer here:
https://teamtreehouse.com/forum/my-problemfix-for-adding-an-onclicklistener