在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'
}

最新文章

  1. Spring中servletFileUpload完成上传文件以及文本的处理
  2. BootStrap 的modal 中使用typeahead
  3. 自动化工具selenium
  4. 运行开源项目,报错Error:(48, 37) 错误: -source 1.6 中不支持 diamond 运算符,请使用-source 7或者更高版本已启用diamond运算符
  5. iOS开发零基础--Swift篇 循环
  6. python 2.X
  7. udp 不需要 listen
  8. #292 (div.2) D.Drazil and Tiles (贪心+bfs)
  9. 003.android资源文件剖析(Resources)
  10. 【spring源代码分析】--Bean的解析与注冊
  11. asp.net 一般处理程序session 为 null
  12. acm课程练习2--1001
  13. 根据html生成Word文件,包含图片
  14. 初学者福音——10个最佳APP开发入门在线学习网站
  15. python写zip破解器
  16. ●BZOJ 4237 稻草人
  17. box-sizing position
  18. Android activity创建三部曲
  19. Android测试(四):Instrumented 单元测试
  20. GMA Round 1 数列求单项

热门文章

  1. Leetcode总结之Union Find
  2. filter 中用spring StopWatch 监控请求执行时间
  3. 【spring cloud】spring cloud服务发现注解之@EnableDiscoveryClient与@EnableEurekaClient
  4. 百科知识 hta文件如何打开
  5. Flex4_Tree组件1(添加、删除、展开、关闭、右键菜单)
  6. 分享ArcGIS Server 10.0修复安装心得
  7. mysql生产环境____主从同步修复案例
  8. php实现类似淘宝最近浏览商品的功能模型代码
  9. Selenium学习(一)环境搭建
  10. cocos2dx-3.1 接入多盟广告sdk+Android (2)