skip to Main Content

Im completely new to android studio

I have these configurations :

In gradle-wrapper.properties file:

enter image description here

In build.gradle file:

enter image description here

But when I press Sync Project With Gradle files button . Bellow error occurred :

enter image description here

2

Answers


  1. mostly network Issue but for making sure check the link below for compatibility between build version.

    https://developer.android.com/build/releases/gradle-plugin

    if that was not your issue, it will be network issue.
    use VPN that tunnel your device, I mean whole your device.
    good example is V2rayNg or any other VPN that tunnel device.

    Login or Signup to reply.
  2. You try to use versions that don’t exist (it seems, you mixed up versions for
    two plugins). The correct setup is:

    classpath "com.google.gms:google-services:4.4.0"
    classpath "com.android.tools.build:gradle:8.0.0"
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search