Danial clarc
Danial clarc

Reputation: 773

After upgrading android studio to Android Studio Chipmunk | 2021.2.1 getting this gradle issue

Plugin [id: 'com.android.library', version: '7.2.0', apply: false] was not found in any of the following sources:

Run with --info or --debug option to get more log output. Run with --scan to get full insights.

org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.resolveToFoundResult(DefaultPluginRequestApplicator.java:221)

at org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:42)

If someone has resolved this, please let me know, Thanks in advance

Upvotes: 5

Views: 8228

Answers (3)

M.Shaker Nayyal
M.Shaker Nayyal

Reputation: 91

you should update android gradle plugin version to 7.2.1 , and gradle version to 7.3.3

you can edit versions by

file->projectstructure->project and make changes

Upvotes: 0

Debayan Chowdhury
Debayan Chowdhury

Reputation: 21

Android Gradle plugin version 7.2.0 has been uploaded to Maven. Now we can use id 'com.android.library' version '7.2.0' apply false

Upvotes: 2

hj-core
hj-core

Reputation: 118

I guess AGP7.2.0 hasn't been uploaded to Maven yet? Maven page of Android Application Gradle Plugin

I solved this problem temporarily by setting the Android Gralde plugin version to 7.2.0-rc02 in the Android Studio/Project Structure/Project.

Upvotes: 6

Related Questions