Reputation: 250
I have created kitkat emulator and it is loaded fast in Eclipse ADT. But the lollipop emulator is very slow in loading. It tooks 30min(approx) to load. How to speed up this loading time. My system configuration is,
4GB RAM,Windows 7,Intel i5 Processer
My created AVD configuration is,
Screen:4.7 WXGA,
RAM:512 RAM,
VM HEAP: 120 ,
CPU :intel.
Is there any other options to enable/do?
Upvotes: 1
Views: 1616
Reputation: 2053
You can solve the issue by installing the Intel Atom x86 System Image in the SDK Manager.
Just open the SDK Manager and download the Intel Atom x86 System Image for Android 5.0.
You can choose between a 32-bit and 64-bit version.
After that when creating a new AVD you need to select the x86 System Image like this:
(source: intel.com)
With this image my emulator takes about 3-5 seconds to start up. You can also enable Snapshots when creating or editing the AVD to additionally decrease startup time!
Upvotes: 0
Reputation: 49827
Generally there is not that much you can do. The Android emulator is notoriously slow and Android 5.0 has an even bigger startup time compared to earlier versions because of the now by default enabled disk encryption.
After looking through the documentation I found that you can use -no-boot-anim
to remove the boot animation which decreases startup time.
You can also try Genymotion which is much faster than the emulator that comes with the SDK.
My advice is: Just test your app on a real device and only resort to the emulator if you have to.
Upvotes: 1
Reputation: 136
i would recommend using Genymotion it's very good emulator and you can use it's plugins to integrate it with any development platform you are using
here is some resource's
Plugins for android studio and eclipse
Upvotes: 0
Reputation: 821
You can try -no-boot-anim which speeds up the boot process but will not show boot animation while the emulator starts up.
Upvotes: 0