Android Emulator on 4.1

Hello, here is how i did it:

  1. Create a new qube StandAloneVM (Fully persistent) with Debian-11 template and check “Launch settings after creation”

01

  1. On Settings window, go to “Advanced”, uncheck “Include in memory balancing”, set your initial memory.
    2.1 On kernel, set it to (none).
    2.2 On Virtualization, set HVM.

  1. Run the vm, open the terminal to update the package list and upgrade the system to install adb, fastboot and anbox: sudo apt update && sudo apt full-upgrade && sudo apt install adb fastboot anbox

  2. Download the Anbox Android Image and the sha256sum file
    wget https://build.anbox.io/android-images/2018/07/19/android_amd64.img.sha256sum && wget https://build.anbox.io/android-images/2018/07/19/android_amd64.img

  1. Verify the image and move/rename to /var/lib/anbox/android.img

  1. Restart vm, open the terminal, check adb devices and start anbox, wait some seconds, if you have done eveything right, it will run fine.

adb devices && anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity

4 Likes