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

Android

After I run the first application : to show the answer is yes the emulator never pop up

What am I doing wrong? the only difference between me and Ben is that he's using jelly bean 4.1 and i selected kitkat, would that be why?

4 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Do you get any kind of messages in the Console or LogCat tabs in Eclipse? That's the first place to look to start troubleshooting if your app isn't loading.

I'd also recommend checking out Genymotion, which I recently released a stage about. It's a third-party emulator that usually works much better than the default one.

The android version apparently doesn't really has much to with the emulator. You could follow either of these steps 1) Make sure you have set up an emulator using the AVD manager for android 2) Make sure you have set a target API level for your emulator. 3) Try to launch the emulator all by itself by selecting one of your created emulators through the AVD manager and press the launch button, click ok leaving all the settings as it is.

Hope this helps.

Hi Gunjeet,

I actually later on managed to get the emulator to start, however, I can never get the "The answer is yes" screen to come up, it will usually just load into the android screen like a phone but not the stuff I edited, any idea why?

Well the only possible explanation I see is because the somehow the application is not being loaded into the emulator. I've just been reading on the shoe android stuff, so what basically loss into your emulator is a file with the extension .apk. Just try and search this file in the project folders (I reckon it will probably be in the output or bin folder). If the file exists then your program is working fine since it produced this output. Did you try to restart the project from scratch and create a new emulator and see if it works? Are you using ellipse or some other IDE?