Android Studio.Duplicate files copied in APK META-INF/notice.txt
2015-09-24 15:05
435 查看
[转自]http://stackoverflow.com/questions/22467127/error-duplicate-files-during-packaging-of-apk#【备忘】
Android Studio. I'm getting this kind of error during application run.
build.gradle
Android Studio. I'm getting this kind of error during application run.
Error:Execution failed for task ':app:packageDebug'. Duplicate files copied in APK META-INF/notice.txt
build.gradle
[code]android { ... packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/ASL2.0' exclude 'META-INF/notice.txt' exclude 'META-INF/license.txt' } }
相关文章推荐
- 【android】android RGB颜色表
- Android自动播放图片功能实现
- 学习 KJFrameForAndroid
- ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing
- Android 手势(Gesture)——手势检测
- Android:Zbar 解码、ZXing 管理相机的补充(Zbar支持64位)
- Android图片旋转
- Android开发---把int转换为String出现的问题
- android 支付宝SDK集成
- android中的Parcelable接口
- Android中常用mimeType表
- android文件路径
- Android开发被添加到桌面快捷方式
- Android NDK开发学习(六)
- android EditText与TextView几个常用的属性
- Android中事件传递机制的总结
- 关于android 使用bitmap的OOM心得和解决方案
- Android实例剖析笔记(四)
- Android实例剖析笔记(三)
- android拍照,截图,保存并显示在ImageView控件中