I’m trying to install a VirtualBox virtual machine for developing on Android 2.3 (Gingerbread) but I cannot properly configure the internet connection.
I followed many tutorials on the web and tried to apply some workaround suggested here on StackOverflow (for example Android x86 porting, unable to make it work ), but I still can’t connect from my Android machine.
Some details:
- When I execute
netcfgon android console it returns only thelointerface (127.0.0.1). - The iso image I’m using is “android-x86-2.3-RC1-asus_laptop.iso” downloaded from http://www.android-x86.org/download. I use it on a Lenovo notebook with Windows 7 (but I’ve tried also on Ubuntu 11.04 Natty).
- I’ve tried to setup both host-only and bridged interface on my virtual machine, but they don’t seem to work.
If you are going to be using VirtualBox, you need to use the eeepc.iso image not the asus-laptop.iso image.
Also, you will want to double check a few settings on your VM to make sure they are configured correctly:
From http://www.android-x86.org/documents/virtualboxhowto
I also found the following two things to be very helpful: