Can you deploy to a device via Gradle from the command line

Matt Whetton picture Matt Whetton · Jun 26, 2013 · Viewed 37.6k times · Source

What the question says really - can you issue any commands directly to gradlew via the command line to build, package and deploy to a device?

Answer

rafaello picture rafaello · Jun 26, 2013
$ gradle installDebug

This will push the debug build apk to device, but you have to manually start the application.