How to run Android on Linux using a virtual machine

In this article, TipsMake will guide you how to run Android on Linux using a virtual machine. Let's find out right now!

TipsMake recently put together a list of top Android emulators for Linux systems and was disappointed to find that there is no suitable application that can mimic Android on a Linux distribution.

That said, there is a need to find a good way to run Android on Linux using a virtual machine that supports the Play Store. And in fact, this works better than an emulator due to the better binary translation feature and desktop-like.

Running Android on Linux using a virtual machine

Before continuing, let us briefly explain how to run Android on Linux. We will be using an open source project called Android-x86 to migrate an ARM-based Android operating system to an x86-based one. Basically, with an ISO image of Android-x86, you can boot Android on any desktop platform, be it Windows or Linux.

You can also install and run the best Android games or applications on your Linux machine. So here is the guide you must follow to install Android on Linux using a virtual machine.

Basic setup

1. First of all, download the Android 9 ISO image here. Depending on your architecture, choose a 64-bit or 32-bit ISO image. By the way, currently, Android 9 is the latest desktop-to-desktop operating system.

2. Once you've downloaded the ISO image for Android, continue to download VirtualBox. You can find setup files for all Linux distributions here. Once the download is complete, install VirtualBox on the system.

3. Here, I'm running VirtualBox on Ubuntu. Now, click New on the menu bar and give the virtual machine a name (eg ' Android '). Select Type as 'Linux' and select 'Other Linux (64-bit)' in Version. If you have a 32-bit machine, select 'Other Linux (32-bit)' . Finally, click 'Next'.

How to run Android on Linux using a virtual machine Picture 1How to run Android on Linux using a virtual machine Picture 1

4. On next window, allocate at least 2GB RAM. If you have more RAM, increase it to 4GB for better performance when using Android.

5. Next, select 'Create a virtual hard disk now' and click 'Create'.

6. After that, select 'VDI' and click 'Next'.

7. Select 'Dynamically allocated' and click on 'Next'.

8. Here, enter the amount of storage you want to allocate to Android. The default is 8GB, but you can increase the storage to 16GB or more depending on your usage. Finally, click 'Create'.

How to run Android on Linux using a virtual machine Picture 2How to run Android on Linux using a virtual machine Picture 2

Configure Android virtual machine on Linux

1. Now, it's time to configure a few things so that you get the best performance out of running Android on Linux. On VirtualBox, click 'System'.

How to run Android on Linux using a virtual machine Picture 3How to run Android on Linux using a virtual machine Picture 3

2. Move to the tab "Processor" and allocate at least 2 CPU cores. You can also increase it to 4 for better gaming performance.

3. Next, switch to the 'Acceleration' tab and select 'KVM' from the drop-down menu.

4. Once that's done, go to the 'Display' section and change the 'Graphics controller' to 'VBoxSVGA'. This is the most important step otherwise you will be stuck on a blank screen. Besides, please increase Video Memory to at least 64 - 128MB.

5. Finally, go to 'Storage' and select the 'Empty' submenu . Here, click on the disk icon and select 'Choose a disk file' .

6. Now, select the Android ISO image you downloaded in the first step. Basically, you've completed the process. Just click the 'OK' button .

Start Android in Linux

1. After basic setup and configuration, you are now ready to boot Android on Linux. Simply, select 'Android' in the left pane and then click 'Start'.

How to run Android on Linux using a virtual machine Picture 4How to run Android on Linux using a virtual machine Picture 4

2. Here, go to "Advanced options".

3. Now, select 'Auto_Installation…' and press Enter.

4. On the next screen, select 'Yes' and press Enter.

5. Finally, you will get an option to 'Run Android-x86' on your Linux machine. Press Enter and Android will start booting on your Linux machine later.

6. You can go through initial setup screen just like Android smartphone.

How to run Android on Linux using a virtual machine Picture 5How to run Android on Linux using a virtual machine Picture 5

7. Finally, you've got Android 9 running on Linux with almost natively performance. That was amazing. From now on, just press the 'Start' button in VirtualBox and Android will be ready for you to use.

How to run Android on Linux using a virtual machine Picture 6How to run Android on Linux using a virtual machine Picture 6

9. In case, you want to remove Android from Linux then simply right click on the Android virtual machine you created and select 'Remove'.

10. Next, click 'Delete all files' . It will erase the virtual hard drive and all associated files, freeing up all the space on your computer.

3.5 ★ | 2 Vote