Android running in VirtualBox.
In this blog post I explain how you can install Android in VirtualBox. If you have Windows 10 Pro or higher, you can also use a built-in Windows Feature Hyper-v. I also wrote a blog post for Android in Hyper-V.
If you do not have Windows 10 Pro, you can use VirtualBox as a virtualization tool. A Virtualization tool such as VirtualBox or Hyper-V lets you run different OS without having to install it directly on your PC.
In this post we will look at Android in VirtualBox. There are many Android Emulators on the internet such as Bluestacks, but these applications are often slow and require a lot of resources from your computer.
If you install Android in VirtualBox you have an empty installation without extras. This allows you to test applications, or use Android only applications on your Windows Device.
run android in virtualbox | what do we need?
- …VirtualBox, download here (Windows) directly or go to virtualbox.org.
- An Android ISO. Download here (sourceforge) directly or go to android-x86.org.
- A main OS with at least 5Gb Hard drive and 512Mb RAM.
Click on run and follow the next steps.
Keep all options, it does not use too much space.
Warning: Network interfaces | This will disconnect your network be sure you have saved everything that has to do with your internet connection.
The options below are what you prefer.
Click on ‘install’ to ‘install’ ‘Oracle VM VirtualBox 5.0.4 Setup’…
You’ve finished the Setup Wizard. Keep ‘Start Oracle VM’ checked and click on finish.
In this screen you can create a new VM to run an operating system in.
Name and operating system
- Name: Pick whatever you like. I’m naming mine Android.
- Type: Pick Linux.
- version: Pick highest Linux 2.6.
You need at least 512Mb to run Android, but the more RAM the smoother your Android VM will run.
Create a virtual hard disk now…
Choose VDI as hard disk type. It’s just for testing anyway.
Read the explanation and pick what you like better. I’m going for dynamically allocated.
As you can see I’m going for 8Gb. This is an option you can always change later. (Ever had trouble with not enough space for new apps?)
- Make sure you’ve clicked on the Android VM.
- Click on ‘settings’.
Follow the numbers and open the Android ISO.
Start your Android VM with the ‘start’ button.
Select ‘Installation – Install Android-x86 to hard disk‘ with the arrow keys.
Select the virtual hard disk you made in VirtualBox.
Select ext3 as file system.
Select Yes to continue
Do you want to install boot loader GRUB? Select Yes to continue.
Select yes again…
It’s because I’ve been screenshot-ting everything I’m screenshot-ting this. Select Yes
Select yes since you’ve had to select at least 4Gb of space a few steps back.
Ok I missed a screenshot here.. please click select, and ‘run android-x86’ after that.
Remove the ISO from the CD/DVD -drive or your Android VM will boot the ISO again. Please follow the numbers.
Congratulations! you’ve installed Android in VirtualBox. From here you can follow the steps yourself since this are personal preference.
You’ve installed a complete Android device. Complete with Gmail, Google Maps, and more. You even have the Play store to install more Apps! Remember that the operating system is for touchscreen devices. Your mouse and cursor will work, but not smooth.
It’s quite easy isn’t it? Please leave a comment below with tips and tricks you’re using! Also if this post has helped you, please share it on social media!