搜索

首页  >  问答  >  正文

android - 多个dex文件定义Lcom/tencent/a/a/a/a/a;

这是app引用的包

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    compile files('libs/open_sdk_r5781.jar')
    compile files('libs/jcore-android_v1.1.0.jar')
    compile project(':citypickerview')
    compile(name: 'openDefault-1.0.0-openDefaultRelease', ext: 'aar')
    compile files('libs/LoonAndroid(FixBug).jar')
    compile files('libs/mta-sdk-1.6.2.jar')
    compile files('libs/open_sdk_r5788.jar')
    compile files('libs/alipaySdk-20170407.jar')
    compile 'com.github.bumptech.glide:glide:3.7.0'
    compile 'com.umeng.analytics:analytics:latest.integration'
    compile 'org.greenrobot:eventbus:3.0.0'
    compile 'com.squareup.okhttp3:okhttp:3.6.0'
    compile 'com.google.code.gson:gson:2.8.0'
    compile 'com.squareup.okio:okio:1.11.0'
    compile 'com.jph.takephoto:takephoto_library:4.0.0'
    compile 'com.android.support:appcompat-v7:25.3.1'
    compile 'com.android.support:design:25.3.1'
    compile 'com.android.support:recyclerview-v7:25.3.1'
    compile 'com.android.support:support-v4:25.3.1'
    compile 'com.squareup.okhttp3:logging-interceptor:3.4.1'
    compile 'com.squareup.retrofit2:retrofit:2.1.0'
    compile 'com.squareup.retrofit2:converter-gson:2.1.0'
    compile 'io.reactivex:rxjava:1.0.14'
    compile 'io.reactivex:rxandroid:1.0.1'
    compile 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
    compile 'com.jakewharton:butterknife:8.5.1'
    compile 'com.kaopiz:kprogresshud:1.0.2'
    compile 'org.jetbrains:annotations-java5:15.0'
    compile 'com.android.support:cardview-v7:25.3.1'
    compile 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:1.1.6'
    testCompile 'junit:junit:4.12'
    apt 'com.jakewharton:butterknife-compiler:8.5.1'
    compile project(':oss-android-sdk')
    compile 'cn.jiguang:jpush:2.1.8'
    // 此处以SDK 2.1.8版本为例
    compile 'jp.wasabeef:glide-transformations:2.0.1'
}

这是导入的module的架包:

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:23.0.1'
}

repositories {
    mavenCentral()
}

dependencies {
    compile 'com.squareup.okhttp3:okhttp:3.4.1'
    androidTestCompile 'com.parse.bolts:bolts-tasks:1.3.0'
}

这是我app的libs导入的架包

又没有大神帮我看一下啊。急求!!

PHP中文网PHP中文网2743 天前1035

全部回复(1)我来回复

  • phpcn_u1582

    phpcn_u15822017-05-16 13:31:41

    这个问题是第三方包中有重复的方法,包冲突,看下是这个不

    回复
    0
  • 取消回复