I'm new to Android studio. The first time I created a new project the IDE started downloading gradle, and afterwards it started to download com.android.application . this part took a lot of time but after some minutes I got this error :
Plugin [id: 'com.android.application', version: '7.1.3', apply: false] was not found in any of the following sources:
* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* 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:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- 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
My Android studio version is bumblebee 2021.1.1 patch 3. And I have tried the following:
- https://stackoverflow.com/a/71784769/18031488
- https://stackoverflow.com/a/72799441/18031488 (I tried a proxy. didn't solve the problem)
- https://stackoverflow.com/a/71786490/18031488
- https://stackoverflow.com/a/71020686/18031488
- https://stackoverflow.com/a/44403912/18031488
- https://stackoverflow.com/a/71097021/18031488
Can I install the plugin manually or is there any way to get rid of this?