您当前的位置: 首页 >  Java

柳鲲鹏

暂无认证

  • 0浏览

    0关注

    4642博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

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

柳鲲鹏 发布时间:2021-10-30 09:23:33 ,浏览量:0

具体错误:

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

 

关注
打赏
1665724893
查看更多评论
立即登录/注册

微信扫码登录

0.0509s