changyu7280
阿钰AYU
2017-05-04 07:01

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

  • java
  • android-studio
  • release
  • android

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条回答

为你推荐

换一换