'Suddenly facing this issue in react native firebase project: Could not determine the dependencies of task ':react-native-firebase:compileDebugAidl'
Error: Configure project :react-native-firebase react-native-firebase: using React Native prebuilt binary from C:\Users\Clark\Desktop\Workspace\app-bizgrow-pulse\node_modules\react-native\android WARNING: The specified Android SDK Build Tools version (28.0.3) is ignored, as it is below the minimum supported version (29.0.2) for Android Gradle Plugin 4.0.1. Android SDK Build Tools 29.0.2 will be used. To suppress this warning, remove "buildToolsVersion '28.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.1.1/userguide/command_line_interface.html#sec:command_line_warnings
FAILURE: Build failed with an exception.
- What went wrong: Could not determine the dependencies of task ':react-native-firebase:compileDebugAidl'.
Could not resolve all task dependencies for configuration ':react-native-firebase:debugCompileClasspath'. Could not resolve io.grpc:grpc-core:[1.21.0]. Required by: project :react-native-firebase > com.google.firebase:firebase-firestore:19.0.2 > 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)
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
BUILD FAILED in 15s End
I tried to upgrade gradle version. I also tried deleting node_modules and npm install but still facing this issue.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|