Cannot Install AGP in Android Studio with error: Plugin [id: 'com.android.application', version: '8.4.0-alpha07', apply: false] was not found in any of the following sources:

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.

Maybe you requested it when it was not yet available and Gradle remembers that for some time. Try with --refresh-dependencies.

I recently installed Android Studio on a new computer running Debian 12. However, I’ve encountered a similar hiccup while attempting to build my Android application project. Specifically, I’m facing issues with plugins com.google.devtools.ksp and com.google.dagger.hilt.android

org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.google.devtools.ksp'] was not found in any of the following sources.

Oddly enough, everything works seamlessly on my laptop, which runs Fedora OS.