【发布时间】:2019-03-16 07:10:58
【问题描述】:
在我的颤振应用程序中,我将 firebase_auth 用于 google_sign_in,它工作正常。但是当我将 cloud_firestore: 添加到 pubspec.yaml 然后获取依赖项然后重新启动我的应用程序时,它会向我显示如下错误:
FAILURE: Build failed with an exception.
* What went wrong:
The library com.google.android.gms:play-services-base is being requested by various other libraries at [[15.0.1,15.0.1]], but resolves to 16.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 3s
Finished with error: Gradle build failed: 1
【问题讨论】:
-
我尝试了所有方法,但对我没有任何效果!
标签: android firebase gradle android-gradle-plugin flutter