Running Android x86 on VMware player with networking enabled
August 15, 2012 16 Comments
3 hours ! I’ve lost 3 hours trying to enable network support in an Android x86 VM running in VMWare player. Looks like I was not the only one: just search for “android x86 no network” in Google and you’ll see what I mean.
Anyway, Android x86 is an Android port to the x86 architecture, which means that you can run it on your PC (as opposed to running the slow-as-hell Google Android emulator). Check their website where you can download almost all Android distributions in .iso format.
There are litterally dozens of tutorials that explain how to run Android x86 in Vmware player. This one is one of the best. The most important part is when Vladan tells us to change the “ethernet0.virtualDev” property to “vlance” in the VM configuration file (Read this if you want to understand what the possible values are).
But I couldn’t make it work… do you know why ?
Because the VM configuration file must be modified before you start the VM for the first time. If you start the VM, install Android x86, play with Android and then shutdown the VM to change the configuration file, it’s too late ! (And don’t ask me why because I have no clue).
So, create a new VM making sure that the “Power on VM after creation” option is disabled:
Then, modify the .VMX configuration file (ethernet0.virtualDev = “vlance”) and finally, start the VM and proceed with the installation.
Laurent KUBASKI
Thanks for the mention. In order to make changes to the configuration file AFTER the android installed, you would have to unregister the VM from Player/Workstation first. Rightclick the VM > Remove.
This does not delete the VMs disk files or the config files. Then you can edit the VMX config file in Notepad (for example) and then when you finished, just double click to make the VM appear again in the Workstation/Player User Interface…
I can still not get online I use VMware Workstation 8 and android-x86-4.0-RC2-asus_laptop. I did as u show here but still.
1. With Android 4.0 RC2 for EEPC use Bridged Mode for networking.
2. When you boot up the VM press ALT+F1
3. ‘ping 8.8.8.8’ at the prompt (google’s DNS)
4. If its working type ‘setprop net.dns1 8.8.8.8′ without quotes.
5. Press ALT+F7 and you should have internet connection.
When I follow all the instructions including what you put here, I get network is unreachable. I have installed and reinstalled and nothing.
it seems it needs also
netcfg eth0 up
netcfg eth0 dhcp
setprop net.dns1 8.8.8.8
All described here
http://www.youtube.com/watch?v=CkE_c_8AQvs (in German :-))
it’s really now working, i’ve managed to install Android 4.0 RC2 and internet connection isn’t working, and i press alt+f1 when VM is booting and nothing comes up. really please help me. I’ve modified the Vmx file before i start the VM for the first time.
You shouldn’t press Alt+F1 WHEN the VM is booting up. You should do so only after the VM is up and running.You shouldn’t press Alt+F1 WHEN the VM is booting up. You should do so only after the VM is up and running.
mine is still not working am using the same setup on workstation 8 on windows 8 any help?
So now that i deleted the VM added it back with bridge mode and switched the controller, I go to download an app and it goes to a screen that says turning on wifi and never lets me sign into my google account… thoughts?
i get same problem. i can browse the internet, but can’t do much everything else
I m using vmware I installed android 4.4 rc1 but I m not able to use net on the android how to solve it.thanx
Pingback: Android Build - manoftoday
You need select freeSDB on intallation to see this option vlance
freeBSD sorry
Pingback: [Android-x86] 用 Android-x86 在 PC 上執行 Android – EPHRAIN 亂打一通的心情日記
Pingback: [Android-x86] 用 Android-x86 在 PC 上執行 Android | EPHRAIN 亂打一通的心情日記