1

我正在为颤振创建一个新插件,这需要

import com.google.android.gms.auth.api.Auth;

无法解决上述问题

我尝试了很多方法来实现该库,但没有成功。我附上了截图也Gradle文件

buildscript {
    repositories {
        google()
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.2.1'
    }
}

rootProject.allprojects {
    repositories {
        google()
        jcenter()
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}




apply plugin: 'com.android.library'

android {
    compileSdkVersion 27

    defaultConfig {
        minSdkVersion 16
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    lintOptions {
        disable 'InvalidPackage'
    }
    dependencies{
        implementation fileTree(dir: 'libs', include: ['*.jar'])
        compile 'com.google.android.gms:play-services-auth:16.0.1'
    }
}

dependencies{
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.google.android.gms:play-services-auth:16.0.1'
}

在此处输入图像描述 在此处输入图像描述

4

0 回答 0