【问题描述】新建Android Kotlin应用,未修改,编译直接报错
【错误信息】 Could not resolve com.android.tools.build:gradle:8.0.0
【解决方案】Incompatible because this component declares a component for use during compile-time, compatible with Java 11 and the consumer needed a component for use during runtime, compatible with Java 8
【解决措施】Settings->Build,Execution,Deployment->Build Tools->Gradle,修改Gradle JDK大于11版本,修改完成后,Sync Project