just experienced the same issue. There was a patch for Android Studio-2024.2.1.12 that i downloaded just now and it solved it for me. But for some reason the Gradle was really slow with updating after installation. But at least it worked