I have Android Studio 2023.3 Canary 7 (Jellyfish),
Gradle version 8.6.0-rc-3, AGP version is 8.4.0-alpha07.
my build.gradle file is as follows:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '8.4.0-alpha07' apply false
id 'com.android.library' version '8.4.0-alpha07' apply false
id 'org.jetbrains.kotlin.android' version '1.9.22' apply false
}
when I want to build my project, I get the following error:
Build file 'D:\AndroidStudioProjects\ProxLauncher\build.gradle' line: 3
Plugin [id: 'com.android.application', version: '8.4.0-alpha07', 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.
> Get more help at https://help.gradle.org.
* Exception is:
org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.android.application', version: '8.4.0-alpha07', 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:8.4.0-alpha07')
Searched in the following repositories:
Gradle Central Plugin Repository
Google
MavenRepo
BintrayJCenter
For more on this, please refer to https://docs.gradle.org/8.6-rc-3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
Ask Studio BotPlugin [id: 'com.android.application', version: '8.4.0-alpha07', apply: false] was not found in any of the following sources:
I searched that, and I found this plugin in the repository, but Gradle cannot find it.
Please help me to solve this problem.