Friday, 2 August 2013

Android 4.3 Emulator for Windows

Posted by Suhel Sayyad
To execute android 4.3 emulator on Windows you can have some choices. First is configuring the Android SDK which makes it a slow and difficult process. Or you could try the BlueStacks emulator, which is incompatible with many important apps and doesn’t provide an Android 4.3 interface. One of the best way is to create your own Android emulator that runs in Window.
By creating a virtual machine that runs Android x86, a version of Google’s OS for computers with Intel/AMD processors, you can have the full Android 4.3 experience in a window, complete with a desktop, navigation buttons and access to the Google Play store.

For creating this android 4.3 emulator follow these steps

  1. Download and install VirtualBox
  2. Download the latest version of Android x86 from android-x86.org. You will need the  live and installation iso. As of publish date, the latest available version was android-x86-4.2-20130228.iso.
  3. Launch VirtualBox.
  4. Click New. A dialog box appears with fields for the name and type of operating system.
  5. Enter “Android x86″ for name then select Linux and Other Linux under Type and Version and click Next.
  6. Select at least 1024MB of RAM and click Next when prompted for memory size. If you have 8GB of RAM or more in your computer, select 2048MB for the virtual machine.
  7. Select Create a virtual hard drive  and click Create when prompted to choose a drive.
  8. Select VDI  then click Next when prompted to choose a hard drive type.
  9. Select Dynamically allocated  or Fixed Size then click Next when asked what type of drive you want to use. A fixed size virtual hard drive will be a little faster, but will immediately eat up a certain amount of storage space on your  real-life storage drive. A dynamically allocated drive file will only use as much space as it needs and grow up to the amount you set. So, if you have a dynamically allocated 8GB drive but only use 2GB, the file will only take up 2GB of your hard drive.
  10. Select 8GB and click Create when prompted for storage size. You can choose a greater drive size if you plan to install a ton of apps, but otherwise, 8GB should be more than enough for your emulator. An icon for Android x86 appears in VirutalBox’s left window pane.
  11. Right click Android x86 and select Settings.
  12. Set the video memory to at least 64MB under the Display submenu.
  13. Select the Optical drive under the storage submenu.
  14. Click the optical drive icon under attributes and select Choose a CD/DVD disk file.
  15. Select the Android x86 ISO file you downloaded earlier then Click Ok.
  16. Click Start with Android x86 selected. The virtual box will boot off the ISO file and present an install menu.
  17. Select Installation from the menu.
    Select Installation from the Android x86 Menu
  18.   Select Create/Modify Partitions and Click Ok. A partition menu appears.
  19. Select New then Primary to create a single, primary partition on your virtual hard drive. Click Enter to configure the partition to use all available space on the virtual hard drive.
  20. Select Bootable then Write and type “yes”  to confirm. Then select Quit to return to the installation program.
  21. Click Ok to install onto the partition you just created.
  22. Choose ext3 when prompted for a fileystem format. Click Yes to confirm. The system will now copy some files.
  23. Click Yes when asked if you want to install /system as read-write. This will allow you to make some hacks if you choose to in the future. The system will now copy a few files.
  24. Select Devices -> CD/DVD Devices -> Remove disk from virtual drive from VirtualBox’s top menu bar then click Force Unmount from the dialog box.
  25. Select Reboot and click Ok. The system will boot into Android and after offering you the chance to boot to Debug or regular mode.
  26. Step your way through Android setup as you would on any phone or tablet, entering your Google account info and changing any settings you like. Don’t configure Wi-Fi because VirtualBox already gets its Internet connection from your PC. After hitting the “Start button” on the welcome screen, there may be a minute or two delay.
    Android Welcome Screen
  27. Select Disable Mouse Integration from the VirtualBox Machine menu to make sure your mouse pointer stays synced with your movements. Use the right CTRL key to move your mouse pointer out of the VirtualBox window.  Hitting Right CTRL + C will allow you to scale the Android window as you resize it

6 comments :

  1. The android-x86-4.2-20130228.iso mentioned in step 2 is obviously only Android 4.2

    ReplyDelete
  2. Henry is right.

    Anyway, is it possible to increase the screen resolution?

    ReplyDelete
  3. Screen resolution has nothing to do with Android as such. It should be looked into the features of VirtualBox

    ReplyDelete
  4. Maybe it's easier to just use the genymotion emulator

    ReplyDelete
  5. Very good emulator on first look... but even if i install android 4.3 it didn't open any app downloaded from Google Play Store...

    ReplyDelete
    Replies
    1. Can you please describe the issue in detail so that I can help you to resolve the same

      Delete