当前位置:   article > 正文

The project uses Gradle 4.1 which is incompatible with Java 11 or newer.

the project uses gradle 4.1 which is incompatible with java 11 or newer.

今天安装了WINDOWS11 ,然后重新下载安装了最新的Android Studio,版本号为:android-studio-2020.3.1.25-windows 64位版。

但是打开一个老工程文件(估计是2017年左右写的),打开后提示:

Unable to start the daemon process. The project uses Gradle 4.6 which is incompatible with Java 11 or newer.

打开设置:

 找到这:

把现在的Android Studio版本默认的选项:JAVA11

改为:jdk1.8.0_311

就通过了。 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/码创造者/article/detail/746878
推荐阅读
相关标签
  

闽ICP备14008679号