How to Run Android on Linux Using Virtual Machine

Android on a Linux distro I found a cool method to run Android on Linux utilizing a virtual machine with Play Store support. Also, I try many android emulators, which work better than emulators because of better-paired interpretation and Desktop features. So in this article, we are demonstrating how to run Android on Linux utilizing a virtual machine.

Run Android on Linux Using Virtual Machine

Before we go on, let me momentarily clarify how I will run Android on Linux. We will utilize an open-source project called Android-x86 that ports ARM-based Android operating system to x86 based frameworks. Essentially, with Android-x86’s ISO image, you can boot Android on any desktop platform, be it Windows or Linux. 

You can likewise install and run the most excellent aspect of Android games and applications on your Linux machine. Here are the guidelines you need to install Android on Linux as a virtual machine.

How to Setup Virtual Machine on Linux

1. As a matter of first importance, download the ISO image of Android 9 from the official site. Contingent upon your PC requirement, pick either a 64-bit or 32-bit ISO image.

2. After you downloaded the Android ISO image, feel free to download VirtualBox. After the download is finished, install VirtualBox on your desktop.

3. I’m running VirtualBox on Ubuntu. Presently, click on “New” on the menu bar and give a name to your virtual machine. For example, lets say I have entered “Android.” After that, select the type as “Linux” and pick “Other Linux (64-bit)” that is available beneath version. If you have a 32-bit machine, select “Other Linux (32-bit)”. At long last, click on “Next.”

4. On the following window, allocate 2GB of Ram at least. If you have additional Ram accessible, increment it to 4GB for better execution while utilizing Android.

5. Then, select “Create a virtual hard disk now” and click on “Create.”

6. Further, select “VDI” and click on “Next.

7. Select “Dynamically Allocated” and click on “Next.

8. Here, enter the amount of capacity that you need to give to Android. The default is 8GB. However, you can expand the total to 16GB or more contingent upon your use. At last, click on “Create.”

Configure the Android Virtual Machine on Linux

1. Since you have made the VM, it’s an ideal opportunity to arrange a couple of things, so you get the best performance while running Android on Linux. On the VirtualBox, click on “system.”

2. Move to the “Processor” tab and assign 2 computer Cores. You can likewise expand it to 4 for better gaming execution.

3. Then, change to the “Acceleration” tab and pick “KVM” starting from the drop menu.

4. Whenever you have done that, Move to the “Display” segment and change the “Graphics Controler” to “VBoxSVGA.” This is a significant step. Else, you will be stuck on a black screen. Other than that, increment the Video Memory to at any rate 64-128MB.

5.  At the end, go to “Storage” and just choose the “Empty” sub-menu. Here, tick on the disc representation and select “Pick a disk file.”6. Presently, select the Android ISO image that you downloaded in the initial step. You are fundamentally done. Essentially, click on the “OK” button.

Boot Android within Linux

1. After the necessary setup and configuration, you are currently prepared to boot Android on Linux. Just select “Android” on the left pane and afterward click on “Start.

2. Here, move to the “Advance Option.”

3. Presently, select “Auto Installation. “And hit enter.

4. On the following screen, select “Yes” and hit enter.

5. At long last, you will get the choice to “Run Android-x86” on your Linux machine. Press enter and Android will begin booting on your Linux machine without even a second’s pause.

6. You can experience the underlying arrangement screen actually like an Android smartphone.

7. At long last, Android 9 is running on Linux. Presently onwards, you need to press the “Start” button in VirtualBox, and Android will be prepared for you.

8. If you need to erase Android from Linux at that point, basically right-click on the Android VM you have made and pick “Remove.”

9. Then, click on “Erase all documents.” It will eliminate the virtual hard drive and all related files, opening up all the space on your PC. That is it.

see more: Best VPS Hosting


Please enter your comment!
Please enter your name here