代码拉取完成,页面将自动刷新
■具体命令参考Android gradlew 常用命令
https://blog.csdn.net/ch_kexin/article/details/130053784
■如果直接安装到手机上需要这样的命令: ./gradlew installDebug
生成的apk包会在对应的目录下找到。
■ ./gradlew installDebug
案例如下:
■PS D:\WEB\foundation\foundationAs2022> ./gradlew installDebug
> Task :app:installDebug
Installing APK 'szq_com.example.foundation_v1.0-230520_1504_Foundation.apk' on 'Pixel_2_API_33(AVD) - 13' for :app:debug
Installed on 1 device.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/8.0/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 15s
31 actionable tasks: 7 executed, 24 up-to-date
PS D:\WEB\foundation\foundationAs2022> ./gradlew installDebug
> Task :app:installDebug
Installing APK 'szq_com.example.foundation_v1.0-230520_1505_Foundation.apk' on 'Pixel_2_API_33(AVD) - 13' for :app:debug
Installed on 1 device.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/8.0/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 7s
31 actionable tasks: 7 executed, 24 up-to-date
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。