Reputation: 35346
I'm currently stuck with using Atom CPU desktop for my Android app development. What are the ways to improve its boot time. When running the emulator I can see that the number of cores used by the emulator is just one, I'm running the emulator from within the Eclipse ADT plugin.
My android project will be mainly a PhoneGap + jQuery android app.
Upvotes: 6
Views: 5340
Reputation: 6598
With respect to booting faster, the latest Android Emulator v26.2 now has a feature called Quick Boot, which after the initial cold boot of the AVD will boot in under a few seconds for subsequent boots.
Learn more here: https://androidstudio.googleblog.com/2017/10/android-emulator-2620-canary-with-quick.html
Upvotes: 0
Reputation: 511
Try to install android in virtual machine and connect it to eclipse. It is really faster than default emulator(load within 40 seconds).
First you have to install Android x86 in VMware workstation. Here you can download android-x86-vm-20120130.iso.gz
Then you have to connect your VM to eclipse IDE. First run ICS from your VM and open up android command prompt. (Navigate to applications and run Terminal Emulator)
Type "netcfg" in terminal to find out IP of your vm
Then go to cmd(windows command prompt) and move to "platform-tool" folder in your android installation path(in my case cd C:\android-sdk-windows\platform-tools)
Then type "adb connect your ip" command (adb connect 190.156.10.122)
Now you can debug your android application in vm without pain. Try this
Upvotes: 2
Reputation: 1007399
How can I make the emulator use two cores instead of just one?
You can't, sorry.
What are the emulator setting that will make boot faster?
You should try to use one of the x86 emulator images (available now for 4.0.3 and 2.3.3). Beyond that, I am aware of nothing that will speed up the boot time.
Note that you can leave your emulator running for extended periods of time -- you don't need to close and reopen it to run a new copy of your app, for example.
Upvotes: 2
Reputation: 7052
You can use http://android-x86.org/ to run a version of android that can utilize your CPU a lot better. I think you need to run it in a virtual machine.
I'm afraid that setting this up is a little more complicated than just running a virtual device straight from the android SDK.
Upvotes: 1