How to Run Android Games and Apps on Linux – Tutorial

Use the Android system in conjunction with your distribution.

Everyone knows or has heard of Google's Android system, as we know it is aimed at mobile devices like Smartphones and Tablets, but for us if there was a desktop version I could possibly use it.

Ideally at first would be to use Android x86, however, it is still in the testing phase and very little compatible with various hardware.

Here comes a light to use Android and its applications with the help of Virtual Box through the AndroidVM project. Tux Android

Running 3D applications and games on Linux

First of all I would like to make it clear that the following procedures can be used in any distribution, but as I use Linux Mint and Ubuntu the procedures will be described in these distributions, in case of doubt use the comments section of the site.

What does AndroidVM?

The initial idea of ​​the simple project is to run Android as well as possible on virtual platforms like Virtual Box. The latest versions available are on the latest version of Android as well, so new Android virtual machine will run the Jelly Bean version of System, In this project system resources have been adapted to be run exclusively in Virtual Box, so the use of another virtual machine emulator is inadvisable, but the same project should run on Windows too, as long as it uses Virtual Box as well.

AndroidVM

Installation and setup

I would like to inform you that I read about this news on Ubuntu Vibes, but as following only those instructions I did not get the best result, I am rewriting with some changes and observations. You will be able to download the necessary files through this page. The OVA files that are available and the Android VMs are in the Jelly Bean version, which differentiates the screen resolution from each other, some are better suited for smartphone versions and others for tablet adaptations. You can download whatever you want, but you want to download the same as me, download this one. Ubuntu Vibes suggests that we also download other files, such as the Android VM, particularly these files did not make a big difference, the idea of ​​AndroidVM running Google's operating system on a separate screen. Download the file anyway, if you don't use it like me, just delete it. There are versions for Windows, Linux and Mac, download the Linux version for your processor architecture, whether it is 32 bit or 64 bit, if you don't know how to check your system architecture, we suggest you read this article and then come back. on here.

Installing Virtual Box

In order to use the files we downloaded we will need to install Virtual Box, in both cases on Linux Mint or Ubuntu, you can install it via the central program, if you prefer via terminal faa:

sudo apt-get install virtualbox

After Virtual Box is installed

We need to configure the virtual machine so that it gives network access to Android that we are going to install, for that to access the Virtual Box settings menu and in the Network or Network tab, add a new connection:

virtual box

OK, and add the OVA file you downloaded to the virtual machine after importing, go to the system settings of the Android virtual machine:

Virtual Box Settings

In the system settings tab it is most important to enable hardware acceleration, acceleration tab, processors tabs and motherboard, you define how much of your machine's processor will be dedicated to Virtual Box and how much memory, obviously the more processor and memory best.

Another modification we must make on the Monitor tab, enable the 3D acceleration option.

Virtual Box on Linux

In this same tab you can increase the video memory up to 128 (in my case), leave at maximum.

In the tab referring to network configurations we will define which will be the network adapter of our virtual machine.

Let's select the connection we created in the first step by selecting the option, Host-only Adapteer or Host-Only Network Card.

Now let's run Android

With all the configurations done, now it's time to get Android to run, double click on the virtual machine or click start.

The normal Android settings (for Tablet if you downloaded the same file as us) will follow, accept the terms, register your Google account ..

The mouse being equivalent to your finger on the Android screen, on the lock screen slide to the open lock to unlock the system.

Android running on Linux Mint through Virtual Box

After you open your system there is a small app for setting up AndroidVM, click it and enable OpenGL 3D acceleration.

After that the system will reboot, after that you can use Android normally, install some apps through the Google Play app, some 3D games and test the system.

Check out some screens:

Android running on Virtual Box Android running on Virtual Box Android running on Virtual Box Android running on Virtual Box Android running on Virtual Box Android running on Virtual Box

A rather obvious tip, I without thinking install the game Speed ​​night bike, game that uses the gravity sensors of smartphones and tablets, which obviously the virtual machine does not provide, nor you turning the monitor lol, so look for games that do not use this feature.

Some games unfortunately do not run, as was the case with Resident Evil 4, but you can test your software, and still use some good features of the Android system.

If you intend to use the VM to test your programs, you may be interested in knowing the Android SDK suite that you can install on Ubuntu, go here.

Optional

As we mentioned earlier, in the Ubuntu Vibes article they used a file called AndroidVM to run Android Externally, I want to make it clear that it didn't work for me, but if you want to try, just extract the files you downloaded, open the terminal and browse at the extracted files folder and run the command:

./run.sh 1024 600 160

Using the resolution and DPI parameters you want:

Up to the next staff, questions, criticisms and suggestions use the comment section. See you later.

Want to stay on top of everything that happens here?