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 trialRandall Lakey
2,486 PointsEclipse - Crystal Ball problem
Hello everyone, and thank you in advance for your support. I think I did a couple things wrong and now I connot find the app on the "Virtual Device Manager".
Thing 1: I thought I would be clever and try and rename the app so that it is renamed on the "Virtual Device Manager" by changing the "MainActivity" text in this line of code at the top of the page "public class MainActivity extends Activity {"
Thing 2: After completing the final changes to the app stringing an array of new "word" responses to the app I was unable to get the "Virtual Device Manager" to play the changes. So as I opened the "Virtual Device Manager" I decided to check the box "wipe user data" before I launched the "Virtual Device Manager".
As a result of one or both of the things I did, I cannot find the crystal ball app on the virtual device anywhere.
How do I get the app back on my android virtual device so I can finish out the crystal ball app?
Thanks in advance again, Randogg
2 Answers
william parrish
13,774 PointsRandall, you may simply just need to restart the virtual device, using the built in tab android virtual device management at the top left of eclipse. Once you have done that, re-run the mainactivity.xml, and set the appropriate target for your freshly recreated virtual device, and once the virtual device boots up your app should load. If it does not, then you likely have problems within the code itself, but unless you deleted or changed the mainactivity java file, you should be ok. Even the name changes you did to the java class, should not be an issue as long as you ensure its properly refactored throughout any other references to that class name, throughout your code. Post back with your results.