阿钰AYU 2017-05-04 07:01 采纳率: 0%
浏览 2011

run的时候完美,一到签名打包release就报错

Error:Error converting bytecode to dex:
Cause: com.android.dex.DexException: Multiple dex files define Lcom/google/gson/JsonSerializer;

Warning:warning: Ignoring InnerClasses attribute for an anonymous inner class

(com.common.cliplib.a.c) that doesn't come with an

associated EnclosingMethod attribute. This class was probably produced by a

compiler that did not target the modern .class file format. The recommended

solution is to recompile the class from source, using an up-to-date compiler

and without specifying any "-target" type options. The consequence of ignoring

this warning is that reflective operations on this class will incorrectly

indicate that it is not an inner class.

下为build.grild
```dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.umeng.analytics:analytics:latest.integration'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.orhanobut:logger:1.15'
compile 'com.android.support:cardview-v7:23.4.0'
compile 'com.jakewharton:butterknife:7.0.1'
compile 'com.android.support:support-annotations:23.1.1'
compile 'org.greenrobot:eventbus:3.0.0'
compile 'com.google.code.gson:gson:2.4'
compile 'com.android.support:recyclerview-v7:23.+'
compile 'com.android.support:design:23.4.0'
compile 'com.getbase:floatingactionbutton:1.5.1'
compile 'com.github.clans:fab:1.6.4'
compile 'com.oguzdev:CircularFloatingActionMenu:1.0.2'
compile 'io.github.yavski:fab-speed-dial:1.0.1'
compile 'cc.trity.floatingactionbutton:library:1.0.0'
compile files('libs/adshower-library.jar')
compile files('libs/umeng-analytics-v6.1.0.jar')
}

有说是包名重复可是看了一下没有重复的啊
  • 写回答

1条回答

  • 接口的说法 2017-05-04 08:19
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 jupyterthemes 设置完毕后没有效果
  • ¥15 matlab图像高斯低通滤波
  • ¥15 针对曲面部件的制孔路径规划,大家有什么思路吗
  • ¥15 钢筋实图交点识别,机器视觉代码
  • ¥15 如何在Linux系统中,但是在window系统上idea里面可以正常运行?(相关搜索:jar包)
  • ¥50 400g qsfp 光模块iphy方案
  • ¥15 两块ADC0804用proteus仿真时,出现异常
  • ¥15 关于风控系统,如何去选择
  • ¥15 这款软件是什么?需要能满足我的需求
  • ¥15 SpringSecurityOauth2登陆前后request不一致