由以下原因引起:com.android.builder.dexing.DexArchiveBuilderException:无法处理

时间:2018-11-23 16:36:23

标签: java android

您好,我在上周尝试过在没有Firebase的情况下实现Google登录。

我逐步介绍了Google的这一步骤。

一切正常,但随后我尝试进行编译,这给了我这个错误:

  

原因:com.android.builder.dexing.DexArchiveBuilderException:   处理失败   C:\ Users \ Mike.gradle \ caches \ transforms-1 \ files-1.1 \ firebase-analytics-impl-12.0.1.aar \ 5593e447f96dd34e42ee7b48f39c0a8c \ jars \ classes.jar

这是我的毕业设计,我尝试了一切 感谢所有试图帮助我的人

 apply plugin: 'com.android.application'


android {
    signingConfigs {
       //my key :D
        }
    }
    compileSdkVersion 28
    defaultConfig {
        applicationId "smiets.justdontdie"
        minSdkVersion 17
        targetSdkVersion 28
        versionCode 3
        versionName "1.1"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        signingConfig signingConfigs.justdontdiekey
    }
    buildTypes {

        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    buildToolsVersion '28.0.3'
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    productFlavors {
    }
}

    dependencies {
        implementation fileTree(include: ['*.jar'], dir: 'libs')
        implementation 'com.android.support:appcompat-v7:28.0.0'
        implementation 'com.android.support.constraint:constraint-layout:1.1.3'
        implementation 'com.google.android.gms:play-services-ads:17.1.1'
        testImplementation 'junit:junit:4.12'
        androidTestImplementation 'com.android.support.test:runner:1.0.2'
        androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
        compile 'com.google.guava:guava:25.0-android'
        compile 'com.google.android.gms:play-services:+'
        compile 'com.google.android.gms:play-services-places:+'
        compile 'com.google.android.gms:play-services-auth:+'
        compile 'com.google.android.gms:play-services-location:+'


    }

0 个答案:

没有答案