小编Aki*_* Ko的帖子

错误:com.google.android.gms.internal.zzij中引用com.google.android.gms.common.internal.zzg作为接口。

更新Android Studio 3.2.1后,我尝试修复我的应用程序的某些功能。但似乎我得到更多的错误。当我尝试重建应用程序时。我得到了这个使者:

Error: Type com.google.android.gms.common.internal.zzg is referenced as an interface from `com.google.android.gms.internal.zzij`.
Run Code Online (Sandbox Code Playgroud)

但是,我的build.gradle(Module:app)和build.gradle(Project)看起来不错。这是我的build.gradle:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 28

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    buildToolsVersion '28.0.3'
    useLibrary 'org.apache.http.legacy'

    defaultConfig {
        applicationId "com.xx.xx"
        minSdkVersion 15
        targetSdkVersion 28
        multiDexEnabled = true
        versionCode 7x
        versionName "1.0.7x"
        testInstrumentationRunner 
    "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 
    'proguard-rules.pro'
        }
    }
    packagingOptions {
        exclude 'META-INF/DEPENDENCIES'
        exclude 'META-INF/NOTICE'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/LICENSE.txt'
        exclude 'META-INF/NOTICE.txt'
    }
    configurations.all {
        resolutionStrategy.force 'com.google.code.findbugs:jsr305:3.0.1'
        exclude group: …
Run Code Online (Sandbox Code Playgroud)

java android android-studio

1
推荐指数
1
解决办法
3972
查看次数

标签 统计

android ×1

android-studio ×1

java ×1