Created
May 12, 2017 09:55
-
-
Save baz8080/89af231ffd546557cdcfcfc518ffe404 to your computer and use it in GitHub Desktop.
Travis create AVD
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
#!/usr/bin/env bash | |
# Creates and starts an emulator. | |
# Avoid the tempation to skip the boot animation. CI scripts use that to figure out when the device is ready. | |
# The emulator is started in the background. This is to avoid holding up the build until we need it. | |
android-update-sdk --components=sys-img-armeabi-v7a-android-16 --accept-licenses='android-sdk-license-[0-9a-f]{8}' | |
echo no | android create avd --force -n test -t android-16 --abi armeabi-v7a --skin QVGA | |
emulator -avd test -no-audio -no-skin -netfast -no-window & | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment