I have Just Updated my Gradle Plugin But Now I am not able to build It is giving the following error Exception is: org.gradle.api.plugins.UnknownPluginException: Plugin [id: ‘com.android.application’, version: ‘7.1.3’, apply: false] was not found in any of the following sources in Android-gradle. We are going to Learn about All Possible Solutions So Lets Get Start with This Article.
- How Exception is: org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.android.application', version: '7.1.3', apply: false] was not found in any of the following sources Error Occurs?
- How To Solve Exception is: org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.android.application', version: '7.1.3', apply: false] was not found in any of the following sources Error?
- Solution 1: Upgrade plugin version
- Summary
How Exception is: org.gradle.api.plugins.UnknownPluginException: Plugin [id: ‘com.android.application’, version: ‘7.1.3’, apply: false] was not found in any of the following sources Error Occurs?
I have Just Updated my Gradle Plugin But Now I am not able to build It is giving the following error:
Plugin [id: ‘com.android.application’, version: ‘7.1.3’, apply: false] was not found in any of the following sources:
Exception is: org.gradle.api.plugins.UnknownPluginException: Plugin [id: ‘com.android.application’, version: ‘7.1.3’, apply: false] was not found in any of the following sources
Plugin Repositories (could not resolve plugin artifact ‘com.android.application:com.android.application.gradle.plugin:7.1.3’) Searched in the following repositories: Gradle Central Plugin Repository Google MavenRepo
So here I am writing all the possible solutions that I have tried to resolve this error.
How To Solve Exception is: org.gradle.api.plugins.UnknownPluginException: Plugin [id: ‘com.android.application’, version: ‘7.1.3’, apply: false] was not found in any of the following sources Error?
- How To Solve Exception is: org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.android.application', version: '7.1.3', apply: false] was not found in any of the following sources Error?
To Solve Exception is: org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.android.application', version: '7.1.3', apply: false] was not found in any of the following sources Error As Error is suggesting that version
7.1.3
not found in any of the following sources so we just need to change the following plugin version in build.gradle file and Android Gradle Plugin 7.1.3 have been released. So First of all open your build.gradle file and then find plugins and change their version as given below: plugins { id 'com.android.application' version '7.1.2' apply false id 'com.android.library' version '7.1.2' apply false } Now, try to rebuild your project and your error must be solved now. Thank You. - Exception is: org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.android.application', version: '7.1.3', apply: false] was not found in any of the following sources
To Solve Exception is: org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.android.application', version: '7.1.3', apply: false] was not found in any of the following sources Error As Error is suggesting that version
7.1.3
not found in any of the following sources so we just need to change the following plugin version in build.gradle file and Android Gradle Plugin 7.1.3 have been released. So First of all open your build.gradle file and then find plugins and change their version as given below: plugins { id 'com.android.application' version '7.1.2' apply false id 'com.android.library' version '7.1.2' apply false } Now, try to rebuild your project and your error must be solved now. Thank You.
Solution 1: Upgrade plugin version
As Error is suggesting that version 7.1.3
not found in any of the following sources so we just need to change the following plugin version in build.gradle file and Android Gradle Plugin 7.1.3 have been released. So First of all open your build.gradle file and then find plugins and change their version as given below.
plugins {
id 'com.android.application' version '7.1.2' apply false
id 'com.android.library' version '7.1.2' apply false
}
Now, try to rebuild your project and your error must be solved now. Thank You.
Summary
It’s all About this error. Hope We solved Your error. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read
wow thank you so much
It’s my Pleasure to Help You Rahul Rokade. Thank You For Your Valuable words.