Saeed Noshadi
Saeed Noshadi

Reputation: 1279

I can't update the gradle plugin version to 4.1.3

My current Gradle plugin version is 4.1.2 and this version working correctly but when I update to 4.1.3 I get this error and I can't build the project: Note:I added maven() and jcenter().

A problem occurred configuring root project 'AndroidCryptography'.

Could not resolve all artifacts for configuration ':classpath'. Could not find gradle-4.1.3.jar (com.android.tools.build:gradle:4.1.3). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/4.1.3/gradle-4.1.3.jar

my build.gradle:

enter image description here

Upvotes: 5

Views: 8536

Answers (2)

AMJAD AFRIDI
AMJAD AFRIDI

Reputation: 1

Add the following to the build.gradle(Project) in repositories

google()

Upvotes: 0

Ethan Baloch
Ethan Baloch

Reputation: 21

You Have To Go To -->gradle-wrapper.properties and change your gradle version to 6.8.3

for more info you can load the attached image

Upvotes: 2

Related Questions