Search code examples
androidgradleandroid-studiogradlew

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


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?


Solution

  • $ gradle installDebug
    

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