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

前端 未结 9 1144
借酒劲吻你
借酒劲吻你 2020-12-07 10:14

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?

9条回答
  •  误落风尘
    2020-12-07 10:52

    $ gradle installDebug
    

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

提交回复
热议问题