Skip to content

Instantly share code, notes, and snippets.

@ProfAvery
Created September 25, 2018 22:26
Show Gist options
  • Save ProfAvery/dcdcd7a7a66406e7a55934e4cef2ba86 to your computer and use it in GitHub Desktop.
Save ProfAvery/dcdcd7a7a66406e7a55934e4cef2ba86 to your computer and use it in GitHub Desktop.
Android on Tuffix

Running the Android emulator on Tuffix

Note: these instructions are for a native installation of Tuffix. Do not run the emulator inside a Tuffix Virtual Machine.

  1. Install the following packages:

    $ sudo apt update
    $ sudo apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager
  2. Add your user to the following groups

    $ sudo adduser $USER libvirt
    $ sudo adduser $USER libvirt-qemu
    $ sudo adduser $USER kvm
  3. Check that you can run KVM

    $ kvm-ok
  4. Check that you can run the emulator in accelerated mode

    $ ~/Android/Sdk/tools/emulator -accel-check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment