小编lyn*_*ynx的帖子

更新播放服务后出现错误"程序类型已存在:com.google.android.gms.internal.measurement.zzabo"

我将播放服务依赖项更新到15.0.0版,并在我的app.gradle中添加了play-services-safetynet.在那之后,我总是得到

已存在的程序类型:com.google.android.gms.internal.measurement.zzabo消息{kind = ERROR,text =程序类型已存在:com.google.android.gms.internal.measurement.zzabo,sources = [未知来源文件],工具名称= Optional.of(D8)}

在构建应用程序时.这是我的app.build:

apply plugin: 'com.android.application'

android {
    signingConfigs {
    }
    compileSdkVersion 27
    buildToolsVersion '27.0.3'
    defaultConfig {
        applicationId "XXXXXXX"
        minSdkVersion 19
        targetSdkVersion 27
        versionCode 1
        versionName "0.0.0.1"
        setProperty("archivesBaseName", "XXXXXXX-$versionName")
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    packagingOptions {
        exclude 'META-INF/ASL2.0'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/license.txt'
        exclude 'META-INF/NOTICE'
        exclude 'META-INF/notice.txt'
    }
    productFlavors {
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_7
        targetCompatibility JavaVersion.VERSION_1_7
    }
}
dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')

    compile 'com.android.support:support-v4:27.1.1' …
Run Code Online (Sandbox Code Playgroud)

android compilation google-play-services android-gradle-plugin

19
推荐指数
2
解决办法
6397
查看次数