Can anyone help me to solve this error? I get the ...
# community-support
y
Can anyone help me to solve this error? I get the following error: FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'android'.
Could not resolve all files for configuration ':classpath'.
> Could not find com.android.tools.buildG7.6.3. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/7.6.3/gradle-7.6.3.pom - https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/7.6.3/gradle-7.6.3.pom Required by: project : > Could not find com.google.gms.google-services4.4.2. Required by: project : * 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.
BUILD FAILED in 3s Error: Gradle task assembleDebug failed with exit code 1 In my app/build.gradle : apply plugin: 'com.google.gms.google-services' dependencies { implementation(platform("com.google.firebasefirebase bom33.2.0")) } In my android/build.gradle,i have: dependencies { classpath "com.android.tools.buildG7.6.3" classpath "com.google.gms.google-services:4.4.2" }
v
Don’t confuse Gradle version with Android Gradle plugin version. Google unluckily named their plugin artifact gradle, but those versions are unrelated. There is no such version of AGP that you try to use. After 7.4.2 came 8.0.0.