tidak dapat menentukan versi java dari

Updating gradle/wrapper/gradle-wrapper.properties
with the following version fixed it for me:

https\://services.gradle.org/distributions/gradle-7.0.3-all.zip
"latest version of gradel when you search"
android developer