How to use Android OS VirtualBox as a device in Eclipse

I found this tutorial on how to run the Android OS here: http://www.javacodegeeks.com/2010/06/install-android-os-on-pc-with.html

Has anyone tried to use the setting as a replacement for the emulator? If so, how did you do this?

+4
source share
2 answers

I did not use the link you are linking to, but instead downloaded the eeepc image from the Android x86 Project . The following steps were as follows:

  • Install Android on a virtual computer - I used a 64-bit virtual machine, turned on all hardware virtualization and used the PCnet-FAST III virtual network adapter in bridged mode - see image 1
  • Disable host pointer integration with the host - this will allow Android to display its own mouse pointer so that you know where you click.
  • You need to determine which IP address the VM has so that you can connect to adb connect <YOUR_VIRTUALBOX_IP> . I do this by going into my router and determining the IP address of the device that shares the port with my laptop, since it is an Android virtual machine using bridged networks. See Image 2 .

It is assumed that you can use the VBoxManage commands to identify the guest IP address, but I never received them, so the router method is the only one I have.

The performance is pretty good - much faster than running the hte ARM emulator, although of course you can run the Android versions that were compiled for x86.

enter image description hereenter image description here

+7
source

It is assumed that you can use the VBoxManage commands to identify the guest IP address, but I never received them, so the router method is the only one I have.

Press Alt + F1. when root @android prompt appears, type netcfg and press enter. This will show you the IP address. Press Alt + F7 to return to the GUI.

+2
source

All Articles