I have a 2.67GHz Celeron Processor, 1.21GBs of RAM on a x86 Windows XP Pro machine. My understanding is that the emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I if possible fix this problem. Even if it starts and loads home screen it is very sluggish. Any help would be appreciated guys thanks. I have tried the Eclipse IDE in Galileos, and Ganymede.
The emulator is really slow. On my 3.6Ghz Core 2 Duo it also takes forever...
It is not a problem with your environment, it is just that the emulator is very slow.
Practically I use a real phone to do my tests. It is faster and tests are more realistic. But if you want to test your application on a lot of different Android versions and don't want to buy several phones, you will have to use the emulator from time to time.
Now I'll try do some to solve that problem, guys look here http://developer.android.com/guide/developing/tools/emulator.html Possibly that option ( -cpu-delay ) can help?
Try to disable your antivirus. Maybe it will make emulator a little bit faster.
I've noticed that emulator starts much faster if there's no DDMS connected. So if you start emulator from Virtual Device Manager "SDK Setup.exe" and Eclipse is not started emulator works faster. If you start emulator from Eclipse - DDMS is there, so sometimes emulator is extremely slow, but sometimes it's faster.
Some problem here. Ubuntu Karmic 9.10, Eclipse 3.5 Ganymede, 1.73GHz, 1GB RAM. Tried different AVDs and different Targets (Android 2.1 and 1.6). All extremely slow. Sometimes the emulator runs ok with little CPU usage, then it suddenly keeps running at 100%.
Any ideas yet?
TIA Martin
The startup of the emulator is very slow. The good thing is that you only need to start the emulator once. If the emulator is already running and you run your app again, the emulator reinstalls the app relatively quickly. Of course, if you want to know how fast it will run on a phone, it is best to test it on a real phone.
Hi there,
Just to add a little more to this.
I have a dual boot system with Windows 7 and Karmic Koala.
On my Ubuntu installation my emulator is also running very slow.
On Windows 7 although the emulator takes a few minutes to start up once it has started it seems to run fine (well at least a lot faster than the Ubuntu installation).
Usually I would assume that my Linux installation would have ran the emulator faster than Windows.
So could it be issues with the JDK?
I am currently running the Java6 SDK java-6-sun-1.6.0.15 and my 'java -version' output is:
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)
Anything similar on others machines?
Eggsy
To add further information to this.
I have recently upgraded my Ubuntu installation to Lucid Ubuntu 10.04 LTS which in turn updated my Java version to:
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
And now the emulator (although takes a while to start) seems to be running faster than previously?
Might be worth people upgrading their JVM?
Eggsy
Same problem faced, emulator worked comparatively faster in first experiences, and then after 2-3 times of use, it has become extremely slow to respond the loaded application. [my config: 2.3 Ghz, 3GB DDR2, Windws-7, tried with disabled antivirus as well]. Solutions ? Can someone clarify my doubt that what has DDMS to do with slow response of emulator ?
Me too. Booting of android takes ax. 4 minutes and very long touch/click respond time. When i drag'n'dropping, it lags. My config is I C2D E6550 OC @ 2.5 GHz; 3 GB RAM
I switched from using the OpenJDK (on Ubuntu 10.04) to Sun Java and now (although still very slow) the emulator at least gets going. On the OpenJDK the emulator was hanging on the boot process (showing 'android' text in the mobile window) and never go to the mobile display.
Here is a much faster emulator, but not from Google. It is from youwave.com. It is cool. Check this video out http://www.youtube.com/watch?v=zAV4Jbmuhc4 to see how fast it is.
You can create emulator.bat with follow command to start the emulator. It will start faster.
emulator.exe -cpu-delay 0 -no-boot-anim -avd avd
The batch file running outside of Eclipse worked for me. Thanks!
I will give the youwave.com emulator a try later.
I thought it was slow when I was running Vista 32 bit. I updated to Windows 7 Ultimatex 64bit and it's even slower!
Installed LauncherPro apk from their website and my emulator got at least twice as fast. System is Debian Squeeze.