你可以在命令行通过摇篮部署到设备 [英] Can you deploy to a device via Gradle from the command line
本文介绍了你可以在命令行通过摇篮部署到设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
什么问题,说真的 - 你可以直接发出任何命令,通过命令行来gradlew构建,打包和部署到设备
?解决方案
$摇篮installDebug
这将推动调试版本的apk到设备,但是你必须手动启动该应用程序。
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?
解决方案
$ gradle installDebug
This will push the debug build apk to device, but you have to manually start the application.
这篇关于你可以在命令行通过摇篮部署到设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文