【发布时间】:2021-07-07 21:28:52
【问题描述】:
我今天正在开发使用 location 插件的应用程序,当时我的构建开始失败。 这是消息:
Plugin project :location_web not found. Please update settings.gradle.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
> Could not resolve com.google.android.gms:play-services-location:16.+.
Required by:
project :app > project :location
> Failed to list versions for com.google.android.gms:play-services-location.
> Unable to load Maven meta-data from https://google.bintray.com/exoplayer/com/google/android/gms/play-services-location/maven-metadata.xml.
> Could not get resource 'https://google.bintray.com/exoplayer/com/google/android/gms/play-services-location/maven-metadata.xml'.
> Could not GET 'https://google.bintray.com/exoplayer/com/google/android/gms/play-services-location/maven-metadata.xml'. Received status code 403 from server: Forbidden
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
有什么想法,或者可能是谷歌云的错?我的位置版本是^3.2.4
【问题讨论】:
-
你能告诉我们你的 android/app/build.gradle 吗?你的 Flutter 版本是什么?
-
颤振版本。 1.22.5
标签: android flutter gradle location jcenter