在Flutter上找不到捆绑的Java版本 [英] Unable to find bundled Java version on Flutter

查看:394
本文介绍了在Flutter上找不到捆绑的Java版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Android Studio 3.0版。当我使用命令 flutter doctor时,它显示无法找到捆绑的Java版本。我当前的Java版本是(build 1.8.0_131-b11)。

I have Android Studio version 3.0. When i use the command "flutter doctor" it shows me that "Unable to find bundled Java version". My current java version is (build 1.8.0_131-b11).

推荐答案

在此处输入图片描述

运行时出现此错误扑扑医生

解决方案:


  • 转到文件 java;

  • 然后右键单击该文件并转到属性。

  • 然后获得权限并检查允许文件作为程序执行

  • 最后,运行 flutter doctor 查看未发现问题!

  • Go to the file "java" following the path where Error is shown.
  • Then right click on the file and go to Properties.
  • Then fo to permissions and Check the box "Allow executing file as program".
  • Finally, run flutter doctor to see No issues found!.

这篇关于在Flutter上找不到捆绑的Java版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆