Плагин Flutter Android-зависимость не может разрешиться
Я создаю новый плагин для флаттера, который требует
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'
}