Jump to content

Linux Guide/Run an Android emulator

From Wikibooks, open books for an open world

Add 'contrib' to your sources.list:

sudo nano /etc/apt/sources.list

For example you should have a line like this:

deb http://mirror.linux.org.au/debian/ buster main contrib

Update and install anbox:

sudo apt update
sudo apt install anbox

Load two kernel modules needed for anbox:

sudo modprobe ashmem_linux
sudo modprobe binder_linux

Download android.img as instructed here. Save it to `/var/lib/anbox/android.img`.

Start the container manager:

sudo anbox container-manager --data-path=/var/lib/anbox

Start the session manager:

anbox session-manager

Launch anbox:

anbox launch

References

[edit | edit source]