Created
September 18, 2016 05:46
-
-
Save kohsuke/1ec15ab87a16d52125d4de5bad317e46 to your computer and use it in GitHub Desktop.
Possible suggested syntax for android emulator
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
android.emulator(platform:'android-23') { | |
android.enableFlightMode() | |
sh './gradlew ...' | |
} | |
android.emulator(platform:'android-6.0', resolution:'800x600', locale:'en_GB', async:true) { | |
sh './gradlew someLengthyTask' | |
android.waitForBoot() | |
android.installApk '**/*.apk' | |
sh './run-tests-on-emulator' | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment