-
命令行执行编译:
./gradlew build --stacktrace --debug > logs.txt 2> logsError.txt -
编译&打包
./gradlew -v 版本号
./gradlew clean 删除build文件夹
./gradlew build 检查依赖并编译打包
./gradlew assembleDebug 编译并打Debug包
./gradlew assembleRelease 编译并打Release的包
./gradlew installRelease Release模式打包并安装
./gradlew uninstallRelease 卸载Release模式包
Android Studio 多渠道打包、自动版本号及 gradlew 命令的基本使用
https://www.jianshu.com/p/44d40f8e67c9
网友评论