Gradle fails to run with unexistent android plugin version

Hello everyone. I’m experiencing a rather nasty error coming either from gradle, or android studio. Sorry if I’m incorrect here, first time user.
So, the error text is the following:

Could not find com.android.tools.build:gradle:8.8.
Searched in the following locations:
  - https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/8.8/gradle-8.8.pom
  - https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/8.8/gradle-8.8.pom
Required by:
    project :gradle
Add google Maven repository and sync project
Open File

What I have done, is changed the version of something related to gradle in Android Studio’s AGP Update Assistant manually to 8.8. This is an unexistent version, since android plugin is 8.5.0 version now, but since I didn’t know it I’ve entered 8.8. Now not a single project builds for me. I am building flutter application, so flutter create . generates all files for me. I tried deleting project’s android folder, tried purging everything related to android studio and gradle from my drive, cleared system caches & temp folders, reinstalled, but literally nothing helps. I can’t run AGP Update Assistant again to change the version to 8.5.0 since it now fails to run silently.

I also tried enforcing the plugin version in my projects setting.gradle and build.gradle files as dependencies, but that doesn’t help a bit either. It seems like something global is broken.

You may think that this issue is similar with: gradle - Android Studio Error: Plugin [id: 'com.android.application', version: '7.4.2', apply: false] was not found in any of the following sources - Stack Overflow
Or: https://stackoverflow.com/questions/70545646/could-not-find-com-android-tools-buildgradle7-3-3-error-found-in-build-gradle

But it’s different because actual file doesn’t exist, so just changing the JDK version doesn’t help a bit.
What can I do? Reinstall Windows?