Gradle build error, Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug
2016-04-27 16:52
573 查看
描述:Error:Execution failed for task ‘:app:transformClassesAndResourcesWithProguardForRelease’.
java.io.IOException: Please correct the above warnings first.
解决办法:
Add this to gradle file and try..
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile(‘proguard-android.txt’), ‘proguard-rules.pro’
} }
成功后:
java.io.IOException: Please correct the above warnings first.
解决办法:
Add this to gradle file and try..
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile(‘proguard-android.txt’), ‘proguard-rules.pro’
} }
成功后:
相关文章推荐
- Android 开发值得订阅的日报和周刊
- android studio Duplicate files copied in APK META-INF/NOTICE
- Cocosd2d-js 异常处理
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结 (转载)
- Android6.0 短信界面,添加多个收件人名字概率性不显示
- Cocosd2d-js 类型转换
- android自定义ListView加载更多与下拉刷新集成
- iOS开发证书显示“此证书的签发者无效”解决方法
- Android 判断当前点击位置是否在圆的内部
- ionic版本从v1.0.0升级到v1.2.4后,android上使用<ion-content>的页面无法滑动
- Android TextView加载html图片详解
- u3d5第一人称射击游戏(C#脚本)完整版并在iOS9.3系统上真机运行
- Cocosd2d-js 对象使用
- Android 加载外部so
- [Android 基础系列]Service、IntentService和习以为常的误解
- andriod/ios webview与js交互 html_demo
- iOS类别(Category)与扩展(Extension)
- iOS 开发工具集合
- 利用友盟定位iOS线上版本项目的崩溃位置
- Cocosd2d-js 数组使用