我升级了Android Studio,之后遇到了这个错误:
Gradle sync failed: Plugin [id: 'com.android.application', version: '7.1.2', 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.2')
Searched in the following repositories:
Gradle Central Plugin Repository
Google
MavenRepo (24 s 586 ms)
我已将JDK升级到11版,但它没有解决错误。我还能做什么?