android studio 3.2 自定义打包apk名称
16lz
2021-12-04
阅读更多
AS 3.2 自定义名称打包
android{//自定义打包时apk名称 applicationVariants.all { variant -> variant.outputs.all { output ->// each 改为 all def fileName = "app_${variant.versionName}.apk" def outFile = output.outputFile if (outFile != null && outFile.name.endsWith('.apk')) { outputFileName = fileName // output.outputFile 改为 outputFileName } } }}
更多相关文章
- NPM 和webpack 的基础使用
- android:报Activity has leaked IntentReceiver或者receiver is
- android adb常用命令整理
- Android(安卓)中RxPermissions 的使用
- This android SDk requires Android(安卓)developer......
- Android(安卓)源码下载
- Android(安卓)Studio: 模拟器启动失败解决(Emulator: Process fin
- Android(安卓)如何去除Launcher上默认的google search bar?
- Android批量打包提速 - 1分钟900个市场不是梦