Skip to content

Instantly share code, notes, and snippets.

@naranjja
Last active February 5, 2025 01:49
Show Gist options
  • Save naranjja/14e13a663f7a4215ade1896fd5bdc3c0 to your computer and use it in GitHub Desktop.
Save naranjja/14e13a663f7a4215ade1896fd5bdc3c0 to your computer and use it in GitHub Desktop.
Create Android AVD on Linux
# Create an AVD with API level 25
cd $ANDROID_HOME/tools/bin/
./sdkmanager "system-images;android-25;google_apis;x86"
./sdkmanager --licenses
./avdmanager create avd --force --name avd25 --abi google_apis/x86 --package "system-images;android-25;google_apis;x86"
./avdmanager list avd
#### Output:
# Available Android Virtual Devices:
# Name: avd25
# Path: /home/jose/.android/avd/avd25.avd
# Target: Google APIs (Google Inc.)
# Based on: Android 7.1.1 (Nougat) Tag/ABI: google_apis/x86
# Enable virtualization on OS
sudo apt-get install qemu-kvm
# Enable virtualization on BIOS
#### Enter your BIOS setup and enable Virtualization Technology (VT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment