Android Gradle 命令行构建
2022-07-06 本文已影响0人
CERI_CHANNEL
清理
{gradle_path} -info -p {android_project_path} clean
构建 android app bundle[1]
{gradle_path} -info -p {android_project_path} bundle{build_type}
构建 apk
{gradle_path} -info -p {android_project_path} assemble{build_type}
参数:
gradle路径 | android工程 | 构建类型 |
---|---|---|
string | string | string |
gradle_path | android_project_path | build_type |
-
android app bundle - https://developer.android.com/guide/app-bundle ↩