The project uses Gradle 4.4 which is incompatible with Java 11 or newer.
Posted 振华OPPO
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The project uses Gradle 4.4 which is incompatible with Java 11 or newer.相关的知识,希望对你有一定的参考价值。
报错信息 |
---|
Unable to start the daemon process.
The project uses Gradle 4.4 which is incompatible with Java 11 or newer.
Possible solution:
- Upgrade Gradle wrapper to 4.8 version and re-import the project
解决方法 |
---|
File——>Settings,到Gradle配置界面,可以看到默认使用的是AS自带的JDK11。
修改为电脑安装的JDK1.8,然后Apply——>OK,重新同步项目即可。
如果上面方法无效,修改build-gradle文件中的版本,和你android Studio相同即可。
以上是关于The project uses Gradle 4.4 which is incompatible with Java 11 or newer.的主要内容,如果未能解决你的问题,请参考以下文章
Android Studio 4.0 :This project uses AndroidX dependencies, but the 'android.useAndroidX' p
Chapter 4. Using the Gradle Command-Line
Minimum supported Gradle version is 6.7.1. Current version is 5.4.1. Please fix the project‘s Gradl
Minimum supported Gradle version is 6.7.1. Current version is 5.4.1. Please fix the project‘s Gradl(
Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.(
This version of android studio is incompatible with the gradle version used.Try disabling the instan