Montag, 25. Juni 2012

How to install Android 4 x86 in Virtualbox and connect with eclipse


Index



1. Download the Android x86 eeepc iso from www.android-x86.org
I used this image android-x86-4.0-eeepc-20120101.iso.




2. Install Virtualbox and create a new virtual mashine  ( step by step / self-explanatory )













3. Configure the virtual mashine

open "mashine settings" and go to -> Storage -> select the CD/DVD Device and browse the ISO from step 1.
This will boot the iso on startup, after succusfully installation you can/should deselect the iso.



go to System ->Motherboard ->Boot Order and check if "CD/DVD Rom" is selected and disable "Enable absolute pointing device".


Network connection: generally select "Bridged Adapter"->eth0->PCnet-Fast III ...



4. Install Android via the ISO on the virtual mashine



create partition



set as bootable, write and quit



format to ext3


create a fake sd card or do a test run

everything seems fine
5. Connect to the internet



Press:
ALT + F1
Type:
netcfg eth0 dhcp
setprop net.dns1 8.8.8.8







Press:
ALT +   F7
and refresh the browser to see if internet is working




6. Connect to Eclipse / Android developer bridge 


Navigate with the terminal to your adb executeable, generally it's placed in your android-sdk../platform-tools folder. Type ./adb connect [ip from last step]






Thats this hope will help somebody :)

Problems/Solutions

Problem
no mouse in virtual android device/no mouse integration
Solution
Open the Mashine Settings and go to System ->Motherboard and disable "Enable absolute pointing device".

1 Kommentar: