解决办法:Could not determine java version from ‘11.0.8‘.

具体错误:

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/wapper/gradle-wrapper.properties,打开:

distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip

Android Studio->Project Structure

解决办法:Could not determine java version from ‘11.0.8‘.


上一篇:Nginx与Apache工作方式


下一篇:《深入分析GCC 》——1.3 GCC代码分析