Created
September 5, 2015 13:42
-
-
Save mustafa01ali/042fcab6c3ed40809a77 to your computer and use it in GitHub Desktop.
Gradle task to install and launch an app on a device/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
// Task to compile, install and run the debug build on a device/emulator | |
task run(type: Exec, dependsOn: 'installDebug') { | |
commandLine 'adb', 'shell', 'am', 'start', '-n', 'com.myapp/.MyFirstActivity' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment