If you're itching give Android a try but don't necessarily want use your whole computer for the task, the best option is to run it in a virtual machine using VirtualBox. It's actually pretty easy to set up, and will offer you the full Android experience in a matter of a few minutes. Let's do this thing.

Related: How to Run Android on Your Computer

You'll need a couple of things to get started:

  • VirtualBox: Download and install VirtualBox if you don't already have it---it's available for Windows, macOS, and Linux.
  • The Android x86 ISO: You'll need to grab the Android x86 ISO for whichever version of Android you'd like to try. At the time of writing, Android 6.0 (Marshmallow) is the most stable release, which is what I'm using here.

Before you get started, I also recommend making sure virtualization options are enabled in your PC's BIOS. Otherwise, you'll be in for a lot of troubleshooting later when things don't work as they should. You've been warned!

Once you have those things, you're ready to get started.

How to Create a Virtual Machine for Android

Go ahead and fire up VirtualBox, then click the "New" button to creation a new virtual machine.

2017-06-27_09h07_14

Name the virtual machine whatever you'd like (I'm using "Android" because that just kind of makes sense?), then select "Linux" as the type and "Linux 2.6 / 3.x / 4.x (32-bit)" as the version. Click Next.

2017-06-27_09h08_55

For memory, I'd give it 2048MB, especially if you're using a 32-bit build of Android (it can't handle anything more). If you're using a 64-bit build, feel free to use as much as you want. Once you've set the amount, click Next.

2017-06-27_09h10_12
Note: Don't exceed 2048MB.

Click "Create" to start building your virtual machine. For hard disk type, leave it set as VDI.

2017-06-27_09h12_02

Leave the hard disk size set as Dynamically Allocated, which will allow the virtual hard disk to grow as needed.

On the next step, you can choose how much storage you'd like to top the virtual machine out at---even though it will dynamically resize, it won't be allowed to grow past the size you define here. Choose whatever size will work best for your system. I'm leaving this at 8GB.

2017-06-27_09h14_26

Finally, click the Create button.

Poof! Just like that, your new virtual machine is ready to use.

How to Install Android in a Virtual Machine

With your machine all set up, highlight it and click on Start at the top.

2017-06-27_09h16_25

When the machine starts up, point it to the Android ISO you downloaded. It should allow you to choose this as soon as you fire it up, but if not, click on Devices > Optical Drives > Choose Disk Image and select your Android ISO. Then use Machine > Reset to restart the virtual machine.

2017-06-27_09h41_32

NOTE: When you click on the VirtualBox window, it will automatically capture the mouse and keyboard. To release the mouse and keyboard, just tap the right Ctrl key on the keyboard.

Once the virtual machine loads the ISO, use the keyboard to scroll down to "Install " and press enter. This will start the Android installer.

2017-06-27_09h24_57

Choose "Create/Modify" partitions. On the GPT screen, just choose "No."

2017-06-27_09h52_53

On the disk utility screen, select "New."

2017-06-27_09h54_23

Create a Primary disk and allow it to use the entire virtual hard disk space you chose earlier. In this case, it's 8GB. This should be selected by default.

2017-06-27_09h54_53

Hit Enter on the "Bootable" option to make the partition bootable, then choose "Write." Tap Enter.

2017-06-27_09h56_42

You will need to type "yes" and tap Enter on the following screen to verify you want to write the partition table to the disk.

2017-06-27_09h56_50

Once it's finished, highlight the Quit option and tap Enter.

2017-06-27_09h57_46

Select the partition you just created to install Android on and tap Enter.

2017-06-27_09h57_54

Select "ext4" to format the partition.

Highlight Yes and tap enter on the next screen to verify.

2017-06-27_09h59_12

Choose "Yes" to install the GRUB bootloader.

2017-06-27_09h59_21

Choose "Yes" to make the /system folder re-writable.

2017-06-27_09h59_29

Once everything is finished, you can choose to reboot into Android or reset. Feel free to do either thing right here, but don't forget to unmount the ISO file first. Otherwise it'll just boot right back into the installer!

If Android fails to boot, try setting the graphics controller in the Display settings to VboxVGA or VboxSVGA.

Using Android in VirtualBox

From here, the setup process is pretty cut and dry---you'll set this thing up just like any other Android device, save for one exception: you won't turn on Wi-Fi. The virtual machine will use your PC's connection.

2017-06-27_10h02_39

So yeah, just sign in and finish the set up. You're ready to play!

2017-06-27_10h05_43

Related: How to Play Android Games (and Run Android Apps) on Windows

This isn't the fastest way to run Android apps on your PC---BlueStacks is faster if all you want to do is run an app or two on your Windows PC. However, Android-x86 provides access to a complete Android system in a virtual machine. It's a great way to get more familiar with a standard Android system or just experiment with it like you would experiment with a virtual machine running any other operating system.