No matching variant of com.android.tools.build:gradle:8.0.0 was found. The consumer was configured to find a library for use during runtime, compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute ‘org.gradle.plugin.api-version’ with value ‘8.0’ but:
新建一个project报错是吗,File | Settings | Build, Execution, Deployment | Build Tools | Gradle,将你的Gradle JDK 改一改,我的是改成corretto 17.
---------------------------------------------------好记性不如烂笔头记一记地