Android Studio使用build.gradle修改签名后的apk默认名称
2016-05-03 17:48
591 查看
buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig getSigningConfig() applicationVariants.all { variant -> variant.outputs.each { output -> output.outputFile = new File(output.outputFile.parent, output.outputFile.name.replace("app-release", "MyApkName-" + defaultConfig.versionName) ) } } } }
相关文章推荐
- 关于easyUI的清空按钮的方法
- 在ubuntu上建立Sphinx,出现Shpinx-quickstart:command not found
- iOS常用技术 — UItextfield 限制字数
- UIDynamic注意事项
- UIDynamic使用
- UITextField使用
- camera issues
- UE4:Android调试部署到手机时,提示"输入字符串不正确"
- UE4|操作设置+蓝图辅助
- UIButton中setTitleEdgeInsets和setImageEdgeInsets的使用
- spoj qtree Query on a tree 【线段树+树链剖分】
- UGUI中背景分辨率适应
- Requests库的用法
- 解决:Invalid escape sequence (valid ones are \b \t \n \f \r \” \’ \\ )
- UE4在Android调用Project Tango
- Druid基本配置及内置监控使用
- 347. Top K Frequent Elements
- Codeforces Beta Round #94 div 2 C Statues dfs或者bfs
- Build sample addon in android5.1.1
- LeetCode347—Top K Frequent Elements