flutter 位置插件存储库 returns 403
flutter location plugin repository returns 403
我今天正在开发使用 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.
任何想法,或者可能是 Google 云故障?我的位置版本是^3.2.4
目前有一个maintenance on Bintray可以解释为什么你突然遇到这个问题。
请注意,如果您使用的 Flutter 版本 > 1.12,则您不必在 build.gradle
文件中配置任何内容来设置位置插件,这可能是问题的根本原因.
我今天正在开发使用 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.
任何想法,或者可能是 Google 云故障?我的位置版本是^3.2.4
目前有一个maintenance on Bintray可以解释为什么你突然遇到这个问题。
请注意,如果您使用的 Flutter 版本 > 1.12,则您不必在 build.gradle
文件中配置任何内容来设置位置插件,这可能是问题的根本原因.