VRC
VRC

Reputation: 761

Android VM as Developing Emulator

I've downloaded the Android VM (http://osxdaily.com/2010/08/27/download-android-os-to-run-in-a-virtual-machine/) and running this in VirtualBox.
This is working fine.

I want to write my app in Eclipse and when I have to test it I want to you use the Android VM as my emulator instead of the default emulator.

When I start the Android VM my internet is working but my question now is how do I attach Eclipse to the Android VM?

Basicly :
Eclipse > Run Application > Start in Android VM (Instead of An Android AVD)

Upvotes: 3

Views: 1238

Answers (1)

nmw
nmw

Reputation: 6764

You need to connect it to adb (which is in the android SDK's platform-tools folder) by opening a terminal and typing:

adb connect <ip_address_of_the_vm>

To find out the IP address of the VM, install a terminal emulator on the android VM and type:

ifconfig

Upvotes: 2

Related Questions