Duplicate files copied in APK META-INF/DEPENDENCIES 解决办法
来源:互联网 发布:网络运营岗位的测试题 编辑:程序博客网 时间:2024/05/21 10:43
在app的目录下找到build.gradle 这个文件,在android标签的最后面加入以下信息:
packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' }
完整的信息如下:
apply plugin: 'com.android.application'android { compileSdkVersion 23 buildToolsVersion "23.0.2" defaultConfig { applicationId "com.server.servers" minSdkVersion 15 targetSdkVersion 23 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' }}dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.1.1'}
3 1
- Duplicate files copied in APK META-INF/DEPENDENCIES 解决办法
- Duplicate files copied in APK META-INF/DEPENDENCIES
- Duplicate files copied in APK META-INF/DEPENDENCIES
- Duplicate files copied in APK META-INF/DEPENDENCIES File
- Duplicate files copied in APK META-INF/
- Duplicate files copied in APK META-INF/解决方式
- Duplicate files copied in APK META-INF/license.txt
- Duplicate files copied in APK META-INF/LICENSE.txt
- Duplicate files copied in APK META-INF/LICENSE.txt
- Duplicate files copied in APK META-INF/LICENSE.txt
- AS Duplicate files copied in APK META-INF/DEPE
- Duplicate files copied in APK META-INF/NOTICE.txt
- android studio Duplicate files copied in APK META-INF/NOTICE
- Duplicate files copied in APK META-INF/license.txt
- Duplicate files copied in APK META-INF/LICENSE的解决方案
- Duplicate files copied in APK META-INF/MSFTSIG.SF
- Duplicate files copied in APK META-INF/rxjava.properties
- Duplicate files copied in APK META-INF/LICENSE
- (学习笔记)第六章 非刚性人脸跟踪——annotation(标记)
- 史上最详细的Highcharts使用指南
- 能说easyui的性能太烂了吗?
- 天声人語 20160202 米大統領レースの号砲
- 日经春秋 20160202
- Duplicate files copied in APK META-INF/DEPENDENCIES 解决办法
- (学习笔记)第六章 非刚性人脸跟踪——Face tracking(人脸跟踪)
- jquery图片放大效果,鼠标经过图片时局部放大,类似京东图片放大镜效果
- 有关actionbar的设置
- 加载数据库实体类
- IOS设置View的背景图片
- Windows编程C++之第一个Windows程序
- objective-c 中随机数的用法 (3种:arc4random() 、random()、CCRANDOM_0_1() )
- 很有用的一个关于highcharts使用的网页