No matching variant of com.android.tools.build:gradle:7.4.2 was found.创建个新项目,运行直接报错,信息如下:No matching variant of com.android.tools.build:gradle:7.4.2 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