赞
踩
Android Studio 4.2.2的报错提示:
Could not determine java version from '11.0.8'.
The project uses Gradle version which is incompatible with Studio running on Java 10 or newer.
See details at https://github.com/gradle/gradle/issues/8431
Possible solution:
- Upgrade Gradle wrapper to 4.8.1 version and re-import the project
解决:
本人项目的gradle-wrapper.properties的distributionUrl,如下图:
如下图上说要更新到gradle4.8.1并且重新导入项目,和本人的gradle4.1不一致,必须要更新,可以直接点击
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。