【问题标题】:':app:dexDebug'. com.android.ide.common.process.ProcessException':应用程序:dexDebug'。 com.android.ide.common.process.ProcessException
【发布时间】:2015-10-31 14:07:05
【问题描述】:

如果我添加了 paypal sdk,那么我会遇到这个问题,否则我的项目运行成功。

有人能告诉我它与哪个依赖项发生冲突吗?

这是我的依赖项...

    compile 'com.android.support:support-v13:23.1.0'
    compile 'com.google.android.gms:play-services-plus:8.1.0'
    compile 'com.google.android.gms:play-services-gcm:8.1.0'
    compile 'com.google.android.gms:play-services-analytics:8.1.0'
    compile 'com.android.support:design:23.1.0'
    compile 'com.android.support:cardview-v7:23.1.0'
    compile 'com.facebook.android:facebook-android-sdk:4.1.0'
    compile 'com.squareup.picasso:picasso:2.5.2'
    compile 'com.mcxiaoke.volley:library:1.0.19'
    compile 'com.android.support:appcompat-v7:23.1.0'
    compile 'com.android.support:recyclerview-v7:23.1.0'
    compile 'com.android.support:multidex:1.0.1'

    compile 'com.squareup.retrofit:converter-gson:2.0.0-beta2'
    compile 'com.squareup.retrofit:adapter-rxjava:2.0.0-beta2'
    compile 'io.reactivex:rxandroid:1.0.1'
    compile 'com.jakewharton:butterknife:7.0.1'

    compile files('libs/PayPalAndroidSDK-2.11.1.jar'

我删除了构建文件并重新构建了项目,但没有希望,奇怪的是我有一个虚拟项目,我首先编写代码,在该项目中一切正常,但这里总是出错。

【问题讨论】:

    标签: android paypal


    【解决方案1】:

    Paypal 库也包含 GSON 依赖和 Retrofit,你必须从改造中排除 GSON 依赖。

    【讨论】:

    • 我试过了,但是我的 Gson 转换器出错了。即使我尝试了所有依赖项,但没有解决方案。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-04-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-05-09
    相关资源
    最近更新 更多