升级Android Studio Koala Feature Drop | 2024.1.2 版本后,旧项目编译报错,最新版本默认使用java17 版本
1.在 File | Settings | Build, Execution, Deployment 设置成java1.8然后apply重新编译运行
2.在File | Project Structure 设置成java1.8 apply 重新运行
升级Android Studio Koala Feature Drop | 2024.1.2 版本后,旧项目编译报错,最新版本默认使用java17 版本
1.在 File | Settings | Build, Execution, Deployment 设置成java1.8然后apply重新编译运行
2.在File | Project Structure 设置成java1.8 apply 重新运行