Faster Android Emulator?

If you ever found out that your Android Emulator is slower then, this might be the solution for you.



1. First, you've to install virtual box in your Computer. (Linux: Ubuntu in my case). You can use Ubuntu Software Center to do that.


2. After installation, you've to install Eclipse IDE with Android SDK. (Find adt-bundle & install)

3. Then, Download Android Operating System ISO, Here.

4. Now, Run Virtual Box Software & Create a new Virtual Machine. (Ctrl+N)



5. In the next Screen, Give your Virtual Machine a Base Memory Minimum of 512 MB. (RAM) The rest of the steps don't make any significant impact except Virtual Hard Disk setting where You should set it as Start-up Disk. Others, proceed as you please.




6. After completing VM Creation. Change the Settings of  the Virtual Machine by Machine->Settings. You've to set the IDE Controller. Give the Exact location of your downloaded Android generic ISO.



7. In order to enable network connection to the Virtual Machine, Set Network: Attached to: Bridged Adapter. So that, Virtual Machine will share network connection with Host.



8. Then, Start Virtual Machine. Select 'Run Android without Installation' option in the Android Live Installation Menu.


After few minutes, you'll be in your own Android Environment. Try to Practice Mouse Capture (Integration) with your Virtual Android Environment.



9. Then, Press Alt+F1 inside the Virtual Machine. You'll be seeing a screen similar to Terminal or Command Prompt. Then, Type netcfg command in order to get the Emulator's IP address. (Alt+F7 to Set it to Previous State)


Copy down the IP address. Take your terminal out & Type the following command.

$ adb connect "Your IP Address"

if it returns connected, then you're correct up to now.

10. Create a dummy Project to test this whole thing & go to Run-> Run Configurations. Then, Click Android Application-> New Configuration.

11. Inside the, Target tab. Under Target Tab set Deployment Target Selection Mode: Always Prompt to Pick Device.


12. Now, You can Click Apply & Run. You'll be prompted to choose emulators Select the Virtual Box.


Finally, you're done. Thanks for coming.

1 comment:

Anonymous said...

Fantastic website. Plenty of useful information here.

I'm sending it to a few friends ans additionally sharing in delicious.
And naturally, thanks in your sweat!