[Solved] Android Gradle Plugin 7.1.3, Plugin [id: ‘com.android.application’, version: ‘7.1.3’, apply: false] was not found in any of the following sources

We Are Going To Discuss About Android Gradle Plugin 7.1.3, Plugin [id: ‘com.android.application’, version: ‘7.1.3’, apply: false] was not found in any of the following sources. So lets Start this Java Article.

Android Gradle Plugin 7.1.3, Plugin [id: ‘com.android.application’, version: ‘7.1.3’, apply: false] was not found in any of the following sources

  1. [Solved] Android Gradle Plugin 7.1.3, Plugin [id: 'com.android.application', version: '7.1.3', apply: false] was not found in any of the following sources

    I just had this problem too after receiving a recommendation to upgrade Gradle plugin, here's what I did,
    I changed the following
    plugins {

  2. Android Gradle Plugin 7.1.3, Plugin [id: 'com.android.application', version: '7.1.3', apply: false] was not found in any of the following sources

    I just had this problem too after receiving a recommendation to upgrade Gradle plugin, here's what I did,
    I changed the following
    plugins {

Solution 1

I just had this problem too after receiving a recommendation to upgrade Gradle plugin, here’s what I did,

I changed the following

plugins {
    id 'com.android.application' version '7.1.3' apply false
    id 'com.android.library' version '7.1.3' apply false
}

in the build.gradle(Project: MyProjectName)

to this

plugins {
    id 'com.android.application' version '7.1.2' apply false
    id 'com.android.library' version '7.1.2' apply false
}

and clicked on ‘try again’

it SOLVED my issue

Original Author ntobeko dindi Of This Content

Solution 2

Android Gradle Plugin 7.1.3 has been released. Problem solved.

Project build files are up-to-date for Android Gradle Plugin version 7.1.3.

Original Author ntobeko dindi Of This Content

Solution 3

I checked in my build.gradle file and saw that my plugin version is as below

plugins {
    id 'com.android.application' version '7.1.2' apply false
    id 'com.android.library' version '7.1.2' apply false
}

It is the latest and February-released version click the below link for getting info on the Gradle version.
https://developer.android.com/studio/releases/gradle-plugin#7-1-0

I checked all versions but have not found the 7.1.3 version. If you entered this version manually then make them 7.1.2 as code above and run again. Because error is also say that version 7.1.3 not not found in any of the following sources

If the problem is the same. Let me know.

Original Author App Guru Of This Content

Solution 4

Your plugin imports look odd to me

plugins {
    id 'com.android.application' version '7.1.3' apply false
    id 'com.android.library' version '7.1.3' apply false
   
    ... other plugins go here
}

I would only expect to see one of these; either the application if this is your application module, or the library if this is a library module. Maybe try removing the one you don’t need?

As an aside, I have just done the same upgrade as you, from 7.1.2 to 7.1.3, and it worked fine.

I’ve no idea how the distribution system works but another option might be that as it seems like it’s just been released maybe whatever content delivery network your computer is connecting to hasn’t received the update and if you just wait a bit and try again it might work.

Original Author Simon Of This Content

Conclusion

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.

Also Read,

Siddharth

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment