"Flutter run" on the example project fails with the following error
FAILURE: Build failed with an exception.
- What went wrong: Could not determine the dependencies of task ':app:processDebugResources'.
Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. Could not resolve androidx.window:window:[1.0.0-beta04]. Required by: project :app > project :flutter_plugin_android_lifecycle > io.flutter:flutter_embedding_debug:1.0.0-e85ea0e79c6d894c120cda4ee8ee10fe6745e187 > androidx.window:window-java:1.0.0-beta04 > Failed to list versions for androidx.window:window. > Unable to load Maven meta-data from https://google.bintray.com/exoplayer/androidx/window/window/maven-metadata.xml. > Could not get resource 'https://google.bintray.com/exoplayer/androidx/window/window/maven-metadata.xml'. > Could not GET 'https://google.bintray.com/exoplayer/androidx/window/window/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
-
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.
-
Get more help at https://help.gradle.org
Any idea how to fix this ?
This is my first time using flutter. Any help is greatly appreciated.