411 REFERENCE · Wikibooks
Linux Guide/Run an Android emulator
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Note: this guide is incomplete and is a work in progress.
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
https://github.com/anbox/anbox/issues/123
https://askubuntu.com/questions/909629/how-to-launch-anbox
https://github.com/anbox/anbox/issues/114