'Could not determine the dependencies of task ‘:app:compileDebugJavaWithJavac’ flutter
Launching lib\main.dart on Android SDK built for x86 in debug mode...
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 io.grpc:grpc-core:[1.21.0]. Required by: project :app > io.grpc:grpc-okhttp:1.21.0 > Failed to list versions for io.grpc:grpc-core. > Unable to load Maven meta-data from https://jcenter.bintray.com/io/grpc/grpc-core/maven-metadata.xml. > Could not HEAD 'https://jcenter.bintray.com/io/grpc/grpc-core/maven-metadata.xml'. > org.apache.http.client.ClientProtocolException (no error message) > Failed to list versions for io.grpc:grpc-core. > Unable to load Maven meta-data from https://jcenter.bintray.com/io/grpc/grpc-core/maven-metadata.xml. > Could not HEAD 'https://jcenter.bintray.com/io/grpc/grpc-core/maven-metadata.xml'. > org.apache.http.client.ClientProtocolException (no error message) > Failed to list versions for io.grpc:grpc-core. > Unable to load Maven meta-data from https://jcenter.bintray.com/io/grpc/grpc-core/maven-metadata.xml. > Could not HEAD 'https://jcenter.bintray.com/io/grpc/grpc-core/maven-metadata.xml'.
- Get more help at https://help.gradle.org
BUILD FAILED in 15s Exception: Gradle task assembleDebug failed with exit code 1 Exited (sigterm)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
