Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Emulator Shutdown takes FOREVER

I need to poweroff/poweron emulator to perform test. I get an endless message Shutting Down ... that has been running 30 minutes+ on the emulator. This is totally not working. Is there any way to get emulator to shutdown or at least startup the emulator without an app. I am trying to test app boot on startup, and I cannot get emulator to shutdown. So at least is there a way to start emulator without giving it an app to startup with. BTW, if there is someone who knows about the internals of the emulator on this board would you care to tell us what is going on during this 30+ minutes. I could have processed a gazillion db transactions in this time. This is not slow, not even slothful it is something totally unworkable. Thanks

like image 752
Androider Avatar asked Mar 16 '11 21:03

Androider


People also ask

How do I turn off Android emulator?

To stop a running emulator, click Menu and select Stop.

How much RAM do you need for AVD?

o Depending on your computer specs, the recommended ram size is in the range between 512 MB – 1024 MB. Although you can give more ram to the emulator but an actual android device would normally have 512 MB – 1024 MB for ram only.

Why does emulator take so long to start?

Google emulator uses ARM opcode, a kind of machine language. It must convert from ARM opcode to Intel opcode. That's why it's slow.

Why is AVD so slow?

The Android Emulator is very slow. The main reason is because it is emulating the ARM CPU & GPU, unlike the iOS Simulator, which runs x86 code instead of the ARM code that runs on the actual hardware.


1 Answers

If you are using Eclipse:

  1. Open the Android Virtual Device Manager
  2. Select your virtual device and hit the start button
  3. In new window uncheck "launch from snapshot"
  4. Launch
like image 105
Hossein Avatar answered Sep 29 '22 16:09

Hossein