Linux Guide/Run an Android emulator

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