报错信息:
Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.
> com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK META-INF/LICENSE
File1: jackson-core-lgpl-1.9.5.jar

File2: jackson-mapper-lgpl-1.9.5.jar

解决方法:

参考链接:http://blog.csdn.net/cheng900716lihai/article/details/50896705

android {    packagingOptions {//exclude('META-INF/DEPENDENCIES')        exclude('META-INF/NOTICE')//exclude('META-INF/LICENSE')        exclude('META-INF/LICENSE')        exclude('META-INF/LGPL2.1')    }}

更多相关文章

  1. Android读取手机联系人信息
  2. Android手机开发:获取GPS信息
  3. Android 定时获取系统内存信息
  4. java android 获取手机操作系统相关信息
  5. Android获取应用的签名信息
  6. Android获取WiFi ip相关信息

随机推荐

  1. 2月11日学习日志
  2. Android中自定义权限
  3. 使用Repo在Windows平台下載Android原始碼
  4. android API1.6--2.1变更摘要
  5. 【Android(安卓)开发教程】隐藏Activity
  6. Android权限注解
  7. android 模拟器 使用SD卡
  8. Android开发之InstanceState详解
  9. This template depends on the Android(
  10. android adt 最新下载地址