How to install and run Android Apps on Ubuntu using Anbox (2024)

Have you ever thought about running an Android app or a game on your Linux system? Android and Linux are close relatives, and there is no hard reason why it’s not worth imagining. A new promising project “Anbox” is on course to be a wonderful application for Linux users.

Anbox is a Linux system emulation tool. It can act as a layer between Android apps and your Linux system that are purely coded. It allows you to run and execute android applications on your Linux system.

Note that Anbox is not the first Android emulator for Linux. Projects like Shashlik or Genimobile too use an emulator to run Android. These emulators create a whole emulated system with its own kernel. On the other hand, Anbox runs the Android system under the same kernel as the host operating system. No emulation layer like QEMU is needed. All runs directly on hardware. It also allows for much better integration with the host operating system.

Anbox places the Android OS in a container that summarizes hardware access and integrates core service systems into a Linux system. Like any other native application, each Android application is integrated with your operating system.

Installing Anbox on Ubuntu

In this tutorial, we will walk you through the Anbox installation and configure your Linux to run any Android application. Though it is not an easy task, we will try to make it simpler for you.

Step 1 – System Update

Before starting our tutorial, you need first to ensure that your system is up-to-date. Launch the Terminal and enter the following commands:

sudo apt-get updatesudo apt-get upgrade

Step 2 – Add Anbox Repo to your system

In this section, we will add the PPA to your Linux system and install the essential and appropriate anbox-modules-dkms package, which contains the kernel modules.

Add Anbox repository to your system.

sudo add-apt-repository ppa:morphis/anbox-support

How to install and run Android Apps on Ubuntu using Anbox (1)

Enable Anbox Kernel Modules

Update your system.

sudo apt update

How to install and run Android Apps on Ubuntu using Anbox (2)

Update Repository

Step 3 – Install Kernel Modules

Install appropriate kernel modules using the following commands:

Also Read

  • Setting up a local development environment on Ubuntu
  • How to set up Apache Virtual Hosts on Ubuntu 18.10
  • How to use Ctrl+Alt+Del to launch Task Manager on Ubuntu
sudo apt install anbox-modules-dkms

Start kernel modules manually:

sudo modprobe ashmem_linuxsudo modprobe binder_linux

Step 4 – Verify Kernel Modules

Now, let’s verify that new kernel modules have been installed successfully.

ls -l /dev/{ashmem,binder}

The output of the previous command should look like the below screenshot.

How to install and run Android Apps on Ubuntu using Anbox (4)

Verify Installed Kernel Modules

Step 5 – Anbox Installation using Snap

Now we will install the Anbox using the snap command.

First, ensure that you have snap installed. Ubuntu 18.04 and above should come with snap installed by default. If not, you can install snap using our guide.

snap --version

How to install and run Android Apps on Ubuntu using Anbox (5)

Snap Version

Install Anbox. Note that since it is still in the development phase, we will download the beta version.

sudo snap install --devmode --beta anbox

How to install and run Android Apps on Ubuntu using Anbox (6)

Install Anbox

After the installation completes the output successfully should look like below.

How to install and run Android Apps on Ubuntu using Anbox (7)

Anbox Installed Successfully

Step 6 – Android Studio Installation

Since Anbox is an emulation tool for Android, you also need to install Android development tools to install apps on it.

Begin with the installation of Java for Linux.

sudo apt install openjdk-11-jdk

How to install and run Android Apps on Ubuntu using Anbox (8)

Install Java For Linux

Download Android Studio:Unfortunately, the Android studio application has no downloadable binary package. Download your development suite for Linux:

Also Read

  • How to disable screen locking in Ubuntu 18.04 LTS
  • Relax and Concentrate with Ambient Noise for Ubuntu
  • Command-line way of changing Computer Name in Ubuntu

Click here for the download page.

After the download completes, you can go back to your terminal and extract the Android Studio.

cd ~/Downloadsunzip android-studio-ide-*-linux.zip

Now move to the Android Studio bin directory to start the installation process.

cd android-studio/bin

Run the Android Studio installation script.

./studio.sh

When the Android Studio Wizard starts, a welcome screen will appear like the below. Press next to continue.

How to install and run Android Apps on Ubuntu using Anbox (9)

Android Studio Welcome Screen

Choose the Standard option then press next to continue.

How to install and run Android Apps on Ubuntu using Anbox (10)

Select Standard Option

Select your user interface theme as below.

How to install and run Android Apps on Ubuntu using Anbox (11)

Select UI Theme

Verify your installation settings and press next to start the installation process.

How to install and run Android Apps on Ubuntu using Anbox (12)

Verify Android Studio Settings

When the installation completes successfully you will get a summary screen as below.

How to install and run Android Apps on Ubuntu using Anbox (13)

Android Studio Installation Completes Successfully

Now you can start a new Android Studio Project.

How to install and run Android Apps on Ubuntu using Anbox (14)

Start the New Android Project

Step 7 – Install Android Command Line Tools

sudo apt install android-tools-adb

How to install and run Android Apps on Ubuntu using Anbox (15)

Install ADB

Step 8 – Start ADB Server

For now the Anbox is ready to go but first, you need to start up the ADB server.

adb start-server

How to install and run Android Apps on Ubuntu using Anbox (16)

Start up the ADB server.

Step 9 – Download your Android app or a Game

For example, let’s search for a game to download. APK Mirror is a great resource to find downloadable Android games in APK format.

Go to APK mirror to download your intended game. For now, note that not all the Android games will work correctly on Anbox. Also for better configurations, you need to install the x86 version from your game.

Step 10 – Install and Configure APK

After downloading your game APK. Go to the downloads directory.

cd ~/Downloads

Install the game APK using the below command.

adb install game.apk

How to install and run Android Apps on Ubuntu using Anbox (17)

APK Installed Successfully

Open the Anbox Application Manager from your applications.

How to install and run Android Apps on Ubuntu using Anbox (18)

Anbox Application Manager

Step 11 – Launch your Android App or Game!

How to install and run Android Apps on Ubuntu using Anbox (19)

Start Your Game

Voila, you now have Android app on your Linux system! That’s all about configuring Anbox on your Linux system to run Android Apps. You can now enjoy playing your Android games on your Linux.

Finally, I hope you have enjoyed this tutorial. Your feedback and questions are welcome.

How to install and run Android Apps on Ubuntu using Anbox (2024)
Top Articles
HOOVER POWER SCRUB DELUXE USER MANUAL Pdf Download
Craigslist Palm Beach County Florida
Barstool Sports Gif
Fan Van Ari Alectra
Angela Babicz Leak
Brendon Tyler Wharton Height
Craigslist Parsippany Nj Rooms For Rent
Northern Whooping Crane Festival highlights conservation and collaboration in Fort Smith, N.W.T. | CBC News
Paula Deen Italian Cream Cake
Top Golf 3000 Clubs
Mndot Road Closures
Ncaaf Reference
Scentsy Dashboard Log In
Does Publix Have Sephora Gift Cards
Www.paystubportal.com/7-11 Login
Milk And Mocha GIFs | GIFDB.com
Craigslist Pets Sac
Beau John Maloney Houston Tx
O'reilly's Auto Parts Closest To My Location
24 Hour Walmart Detroit Mi
Canvas Nthurston
Danforth's Port Jefferson
X-Chromosom: Aufbau und Funktion
Leccion 4 Lesson Test
Puss In Boots: The Last Wish Showtimes Near Cinépolis Vista
Cvs El Salido
683 Job Calls
Times Narcos Lied To You About What Really Happened - Grunge
Craigslist Brandon Vt
Jailfunds Send Message
Best Restaurants Ventnor
Busch Gardens Wait Times
FSA Award Package
Kempsville Recreation Center Pool Schedule
What are the 7 Types of Communication with Examples
Craigslist Cars And Trucks Mcallen
Gerber Federal Credit
Puerto Rico Pictures and Facts
Sun Haven Pufferfish
Dreammarriage.com Login
Leatherwall Ll Classifieds
Main Street Station Coshocton Menu
3496 W Little League Dr San Bernardino Ca 92407
Telugu Moviez Wap Org
Uvalde Topic
All Obituaries | Sneath Strilchuk Funeral Services | Funeral Home Roblin Dauphin Ste Rose McCreary MB
ACTUALIZACIÓN #8.1.0 DE BATTLEFIELD 2042
Spurs Basketball Reference
Where and How to Watch Sound of Freedom | Angel Studios
How To Connect To Rutgers Wifi
Hcs Smartfind
login.microsoftonline.com Reviews | scam or legit check
Latest Posts
Article information

Author: Chrissy Homenick

Last Updated:

Views: 5852

Rating: 4.3 / 5 (74 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Chrissy Homenick

Birthday: 2001-10-22

Address: 611 Kuhn Oval, Feltonbury, NY 02783-3818

Phone: +96619177651654

Job: Mining Representative

Hobby: amateur radio, Sculling, Knife making, Gardening, Watching movies, Gunsmithing, Video gaming

Introduction: My name is Chrissy Homenick, I am a tender, funny, determined, tender, glorious, fancy, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.