Friday, 8 August 2014

       The default android emulator which comes with ADT (Android Developer Tools)is slow. It really consumes much time in the Development and  Testing phase. Sometimes it even gets timeout during  in the serious process.

                       Android x86 helps to replace such slow emulator which does'nt give hand to the android developers. Android x86 is an open source project licensed under Apache Public License 2.0. Android x86 releases all versions of android OS in  ISO format.They have up to date versions of android OS'es .Android X86 installed in Oracle Virtual box provides a wide range of scope for the android developers.This combination provides very fast execution and running of developing android apps. The following steps will guide you to build the environment.


STEP 1:
Download the Latest release of Android x86-android-x86-4.4-RC2.iso(KitKat)





STEP 2:

Download the Latest release of Oracle VM Virtual Box
VirtualBox 4.3.14 for Windows hosts-x86/amd64 





STEP 3:

a)Open the VirtualBox and click 'New'.


b)After clicking the 'New',Virtual machine creation window will appear.Just Give your own Name to your new Virtual Machine!.Here i have given as "My android device"






c)Then select the type as 'Linux'.
















D)In version select Linux 2.6/3.x(32 bit) or Linux 2.6/3.x(64 bit) it is purely based on your type of OS,then click 'Next'.




E)Then a 'memory size' window will appear as below, for efficiency select 512mb(minimum),then click 'Next'.




F)Then a 'Hard Drive ' window will appear as below. Select 'create a virtual hard drive now'and then click 'create.





G)In 'Hard drive file type' select 'VHD(Virtual Hard Disk)' and then click 'Next'.


H)In 'Storage on physical hard drive' Select 'Dynamically allocated',then click 'Next'.






I)Then comes 'File location and size',in that select minimum 4 GB of memory or more(Since the  android x86 needs it).Then click 'create' to create your new android device.







STEP 4:
Just right click the newly created device, you will able to find a option called 'start'. Select the 'start'option.


Now your virtual machine gets started and it will prompt you to select the Android x86 ISO file to install.

STEP 5:
Find the location of Android x86 ISO file which you have downloaded from STEP 1.Then select the file and click 'open'. Now the virtual machine will defaultly take your android x86 ISO as a Bootable OS to get install.


STEP 6:
Now you can see the below prompt in your virtual machine screen.i.e "Android-x86 Live & Installation CD 4.4-RC2".Now select 'Installation-Install Android-x86 to harddisk.





STEP 7:
For partition select 'Create/modify partitions' among the options.




STEP 8:
For creating new partition select 'New' and press Enter key.Then select 'Primary' for primary partition.Then for size leave as such(as default),here it is '4293.60'.











STEP 9:
Now selct 'Write' option to write the Androis OS on the created 

virtual hard disk.It will take few seconds to do the write 

operation.After wrote operation gets finished  select 'Quit'.




STEP 10:
Now you can able to see the newly created partition, which is actually ready to install our Androidx86 OS. 
Now select the 'sda1 Linux       VBOX HARDDISK'.

















STEP 11:
Now select'ext3' file format to format sda1.Give 'yes' to 

everythig which follows this event.



   
















STEP 12:
After the installation gets finished,select 'Restart' from the given options.


STEP 13:
Now immediatetly after the restart, before the boot occurs right click on the cd symbol present in the tool bar of the virtual box screen.From that select 'Remove disk from virtual drive'.So that once again your virtual machine will not boot from the ISO file you have selected before installation.








































STEP 14:
Then close the virtual machine.

















STEP 15:
Freshly Start the virtual machine.Now you can see the screen as below image,from that select the first option.




















You have finnaly Created your Android Device !!!...... 



Next
Newer Post
Previous
This is the last post.

0 comments: