【发布时间】:2014-11-29 19:35:19
【问题描述】:
Multi dex files define Lcom/google/gdata/util/common/base/Escaper
我被上述错误困住了。将依赖项添加到 UserVoice SDK 后发生的错误
compile 'com.uservoice:uservoice-android-sdk:+'
由于我添加了这个依赖项,我无法运行我的 Android 项目。
我已经阅读了有关 jarjar 命令可能可以解决此问题的信息。但由于依赖项是 .aar 库,我不知道可能的解决方案是什么
非常感谢任何帮助
其他依赖列表:
compile('com.crashlytics.sdk.android:crashlytics:2.1.0@aar') {
transitive = true;
}
compile('com.twitter.sdk.android:twitter:1.1.0@aar') {
transitive = true;
}
compile 'com.android.support:support-v4:21.0.0'
compile 'com.android.support:appcompat-v7:20.+'
compile 'com.google.android.gms:play-services-wearable:+'
compile 'com.github.manuelpeinado.fadingactionbar:fadingactionbar-abc:3.1.2'
compile 'com.squareup.retrofit:retrofit:1.7.1'
compile 'com.squareup.okhttp:okhttp-urlconnection:2.0.0'
compile 'com.squareup.okhttp:okhttp:2.0.0'
compile 'com.jakewharton:butterknife:5.1.2'
compile 'com.squareup.picasso:picasso:2.3.4'
compile 'com.melnykov:floatingactionbutton:1.0.5'
compile 'com.balysv.materialmenu:material-menu-abc:1.+'
compile 'de.keyboardsurfer.android.widget:crouton:1.8.5@aar'
compile 'com.facebook.android:facebook-android-sdk:3.20.0'
compile 'com.joanzapata.android:android-iconify:1.0.8'
compile 'com.squareup:otto:1.3.5'
compile 'com.android.support:recyclerview-v7:21.+'
compile 'com.android.support:cardview-v7:21.+'
Gradle 依赖pastebin:http://pastebin.com/0m6b8Wyi
【问题讨论】:
-
你总是可以使用类型搜索...我知道在 Eclipse 中它的 Ctrl+Shift+T,我认为在 Android Studio 中它的 Ctrl+N乙>。在 Eclipse 中,它还向您显示了重复的 jar 来源......虽然不确定 Android Studio