首次索引项目出现以下错误:
Could not resolve all files for configuration ':classpath'.
Could not resolve com.android.tools.build:gradle:7.4.1.
Required by:....
解决方法:
将Gradle的JDK改成JDK11(可以使用Android Studio自带的JDK)
引用路径:File->Setting->Build,Execution,Deployment->Build Tools-> Gradle