No matching variant of com.android.tools.build:gradle:7.4.0 was found. The consumer was configured to find a runtime of a library compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.5'
Fix for "Unsupported Java. Your build is currently configured to use Java 19.0.2 and Gradle 7.5."
Android Studio Error solve.
Problem solved in just 2 minutes.
Video: SUMAN'S WORLD
Thank You.