报错信息:
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(安卓)Device的信息
  2. Android手机开发:获取GPS信息
  3. 为ListActivity 添加Button
  4. Android读取手机联系人信息
  5. Android(安卓)定时获取系统内存信息
  6. android jni
  7. java android 获取手机操作系统相关信息
  8. [Android]android studio预览视图时报错
  9. 获取android联系人信息

随机推荐

  1. 如何修改 Android 状态栏高度?
  2. android音乐播放器源案例源码
  3. Android UI 之时间与日期控件
  4. 在Ubuntu10.04上设置和下载android4.0源
  5. Android 自定义Progress Bar
  6. android SubscriptionInfo更新流程
  7. android 获取包名的两种方式
  8. sdk\tools目录下的traceview.bat无法找
  9. Android中将资源文件转为Bitmap对象
  10. android获取手机信息