rockstardev
rockstardev

Reputation: 13537

Stuck on emulator screen in Eclipse with Android Development?

I've followed this tutorial: http://anandhansubbiah.com/blog/writing-your-first-android-application/, but no matter what I do, and what I change, when I run the app, all I see is the image below. Is there something I must press to start developing? Did I add starting code. I'm completely stumped...

Screen I see http://img196.imageshack.us/img196/1700/stuckl.jpg

Upvotes: 8

Views: 20765

Answers (7)

yakup_y
yakup_y

Reputation: 155

Stop the emulator --> Open ADV Manager --> Edit the Virtual device --> Click Show Advanced Settings --> Set the Ram size 512mb --> Start the emulator

Upvotes: 0

patel8786
patel8786

Reputation: 121

When the AVD is created a folder /.android is created to store the AVD. I moved the folder. Restarted Eclipse and recreated the AVD and it worked.

Upvotes: 1

SalicBlu3
SalicBlu3

Reputation: 1904

When I start AVD, I enabled "Wipe User Data".

Upvotes: 1

pnm
pnm

Reputation: 11

simply lower the ram in the edit menu and it should work fine

Upvotes: 1

eli
eli

Reputation: 21

I had the same problems on a ee pc, it took half an hour to begin working, then i tried in a stronger pc and it works, Your pc may be to weak for the emulator, just think that the new phones have a 1400 MHz processor and they are running the program not the emulator which is much easier

Upvotes: 2

Adrian
Adrian

Reputation: 2133

From you're screenshot it appears the emulator hasn't fully started so it's unlikely to be a problem with your app. It can take a while to start so leave it for a few minutes just to be sure it's not slow. If that doesn't work try recreating the AVD.

Once the AVD is running you can redeploy your app to it as often as you want so there's no need restart it.

Upvotes: 6

Chris
Chris

Reputation: 10445

You don't have to press anything, and your code shouldn't be able to cause that. It looks like something's wrong with your emulator.

The SDK comes with a few tools you can use to try and figure out what's going on and fix it.

adb is the debug bridge - use adb logcat to see logs from the device. I don't think it will connect with the emulator in that state, but you might as well give it a try anyway.

android is the main AVD manager, and you can use it to create new virtual devices and see details if they failed to load.

If neither produce anything useful or obviously wrong with your virtual device, you might want to try just creating a new AVD in the manager and using that instead. You may also want to try starting the emulator yourself instead of letting Eclipse do it, just in case it's doing something to break it. Use the emulator tool in the SDK to do that.

Upvotes: 2

Related Questions