Improve Android Emulator Performance on Windows 7 x64

Possible duplicate:
Slow Android Emulator

I am running Eclipse Helios on Windows 7 x64. I have a Core 2 Duo 2.0 Ghz with 4.0 GB, which I think should be sufficient, since I never had any performance issues when developing tools.

When I launch my first application in Android Emulator (both 2.3.3 and 3.0), it took at least 5 minutes to load the OS, and at first it did not even launch the HelloAndroid application. Even when I managed to run the application, the performance was unbearable.

Strange things are not an OS performance issue. This is the state of the CPU and memory when executed:

CPUPerformanceWhileRunning

I tried different things to improve performance, but no significant improvements are visible. I think I'm missing something.

Things I tried:

In AVD Manager

  • RAM size up to 512.
  • Resolution up to 640 x 480.
  • Snapshot is included.

In the project settings \ Android

  • \ Launch \ -cpu-delay 0 -no-boot-anim -cache./cache -avd Android3

Things I can’t try: - Deployment on the device (it is not).

By the way, I had the same problem on a MAC Mini 2.66 Ghz 2 GB, but these settings made a difference.

Can anyone give any advice on improving this lame performance?

+6
performance android android-emulator
source share
4 answers

Unfortunately, you are not alone in this.

There seems to be no good solution, but a few tips:

  • Run AVD directly, not through the IDE
  • Leave AVD starting instead of closing / restarting when changing code
  • Debugging on a real device. Yes, you lose testing on several versions and permissions, but for many of us this is the only acceptable solution.

Hope this helps a bit ...

+3
source share

I had the same problem, the emulator froze to "android_". I fixed it by changing the compatibility mode from emulator.exe to "Windows 7". Now it is always slow, but it works.

+1
source share

Open the task manager and right-click on emlulator-arm.exe (* 32), klick processor convergence (affiniteit instellen) and select (if you want a source) or just select the kernels you want to use. Increases performance for me (eight threads available)!

+1
source share

My performance issue was mainly caused by emulator resolution. I set the resolution to one of the default values ​​for the emulator resolution, and it works much better. I would not say that it works as well as the iPhone simulator, but I can work with it.

0
source share

All Articles