Home » Android » java – Android Virtual Device super slow – pc too slow?

java – Android Virtual Device super slow – pc too slow?

Posted by: admin June 15, 2020 Leave a comment

Questions:

if I wanna work/test with my AVD, the Android emulator is super slow, barely usable. Im developing with eclipse and was just about testing a helloWorld app., but the whole thing runs too slow. Is it the hardware of my pc?
details:

AMD Athlon 64 3500+, 2.21 Ghz
2 GB RAM
Windows XP

I know its kinda running with coal, but actually, its just a phone emulator. What is your opinion?

How to&Answers:

I had the same problem. The emulator was slow as hell. You can significantly speed it up by changing the heap size allocated to it in AVD manager. Go to AVD Manager -> Select your device -> Click on “Details” button. The heap size will most probably be 24 or 48 (vm.heapSize: 24). Here’s how you increase the heap size.

AVD Manager -> Select device -> Edit -> Hardware section (same window) -> Select “Max VM application heapsize” property -> Double click and edit the value to 512 or higher.

Restart the emulator (if already running).

Answer:

It is just a very slow emulator. The best option is definately to test on a real phone.

Answer:

I am using Intel Core2 Quad @ 2.33HZ, 2.33Hz with 3GB of RAM. It take about 20 seconds to upload the app after making changes. You must upgrade your PC in order to test your apps on emulator. If you have android device, then good. Your PC will work fine.

Answer:

Like cjk says, the emulator is incredibly slow. It fully emulates the core ARM architecture and can only be single threaded. Best you can do to help it is assign it to a lesser used core and increase the priority/niceness of the process.

Answer:

I had the same type of specs on my computer while developing, indeed the emulator is too slow to work with. What is your screen resolution? In my case connecting to a monitor sped up the emulator, really lame..

Answer:

My LCD’s current screen resolution is 1600 * 900 and I am using Windows 7. Its working fine.

Answer:

I have a macbook air (not very powerfull), the emulator was too slow. It was because the in the Emulation Options Use Host GPU was ticked. This might also help. its fine with:

Device: 3.2″ QVGA
target: level 8
Memory Ram: 512
Heap: 128
Emulation options: not ticked.

hope it helps