Easy. Just download the zip file archive of Google apps and drag the file to the GenyMotion Android (formerly AndroVM) emulator.

Once you do, a popup will appear similar to the image below.

geny_gapps1

There should be a dialog box that will pop up informing you that the file you dragged and dropped is a flashable archive. Just click ok to continue.

geny_gapps2

After that you should be able to get another popup dialog that says something like “Unfortunately, Google+ has stopped”. Just ignore the message.

geny_gapps3

Check out your emulator again, you should be able to see those Google Apps installed in your emulator. However, you may need to start your emulator in order for any Google App not to give out error messages. I tried to go on with logging in to the Play Store without restarting the emulator and it kept giving out error messages.

Once the emulator is restarted you should be able to see messages of the emulator finsihing installing the Google Apps to the system.

So you finally ran AndroVM. Now you want to use it to replace the clunky and resource hogging Android emulator with your Eclipse GUI.

To do so, make sure you know the IP address of your Android virtual machine. The default is 192.168.56.101. But if you want to change the default IP address, here is where you can find it.

  • In Oracle VM VirtualBox, go to File > Preferences > Network
  • Click on the label on the right that says Virtual Host-Only Ethernet Adapter
  • Click the 3rd icon that looks like a screw driver
  • Under the DHCP server tab, look at the Lower Address Bound

That is the IP address of the virtual machine. See photo below for a screenshot.

virtualbox_androvm

Now, once you have the virtual machine up and running, to link it to Eclipse so that it will use that as your test environment when running your apps, open MS-DOS prompt.

Go to where your Android sdk is installed. I installed mine in c:\program files\Android\android-sdk\platform-tools

Then type adb connect 192.168.56.101.

You will know if connection was successful by typing adb devices. Your IP address should be there.

Now in Eclipse, when you deploy your app, do the following:

  • Right click on the project name, choose Run As > Run Configurations
  • Go to Target tab and select Always prompt to pick device.
  • Click Apply button

Once you deploy your Android app, a popup window will show first giving you a list of Android related devices running (your virtual machine included).

Related Posts Plugin for WordPress, Blogger...