Amir daraei
Amir daraei

Reputation: 63

Gradle sync failed in Android studio 3.6.1

after upgrading my android studio to version 3.6.1 I cant sync Gradle with the android studio I try a lot of ways, like change Gradle version and sync or download directly Gradle from gradle blog but still, I see this error

   Gradle sync failed: Could not find transform-api.jar (com.android.tools.build:transform-api:2.0.0- 
   deprecated-use-gradle-api).
   Searched in the following locations:
   https://dl.google.com/dl/android/maven2/com/android/tools/build/transform-api/2.0.0-deprecated- 
   use- 
   gradle-api/transform-api-2.0.0-deprecated-use-gradle-api.jar
   Consult IDE log for more details (Help | Show Log)

even I download transform-api from above link and put it in the folder of Gradle

and this is my screenshot

screen shot

Upvotes: 0

Views: 1239

Answers (2)

HosseinBahrami
HosseinBahrami

Reputation: 11

Open project structure enter image description here

then, open Gradle version drop down and select latest gradle version and click on Apply. it did work

Upvotes: 0

majurageerthan
majurageerthan

Reputation: 2319

First clearly declare google maven repo like this

If it didn't work, Try these answers

Upvotes: 1

Related Questions