Last active
March 6, 2023 19:54
-
-
Save d4vidi/706f69db58d0ea6d2b45f4106bab59db to your computer and use it in GitHub Desktop.
Android CI Blog: avd setup.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install the emulator tool | |
./tools/bin/sdkmanager --install emulator | |
# Install an AOSP image that would later be used as the AVD's OS | |
./tools/bin/sdkmanager --install "system-images;android-29;default;x86_64" | |
# Accept all licenses... | |
./tools/bin/sdkmanager --licenses | |
# To do that automatically in a script, try this: | |
yes | ./tools/bin/sdkmanager --licenses | |
# Create an AVD with the image we've previously installed | |
./tools/bin/avdmanager --verbose create avd --force --name Pixel_4_API_29 --abi x86_64 --device "pixel" --package "system-images;android-29;default;x86_64" | |
# (optional) Review your brand new AVD: | |
./tools/bin/avdmanager list avd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment