when run the Flutter doctor command why it shows "Unable to find bundled Java version." and how to solve that

huangapple go评论46阅读模式
英文:

when run the Flutter doctor command why it shows "Unable to find bundled Java version." and how to solve that

问题

Android Studio (版本 2022.1) X 无法找到捆绑的Java版本。

英文:

Android Studio (version 2022.1) X Unable to find bundled Java version.

答案1

得分: 0

C:\Program Files\Android\Android Studio,然后复制jbr文件夹的内容,粘贴到jre文件夹中,再次运行doctor,问题解决。

英文:

I tried this one and it worked for me

C:\Program Files\Android\Android Studio
then copy the content of jbr and paste the content into the jre folder
run doctor again and problem solved

答案2

得分: 0

前往C:\Program Files\Android\Android Studio,然后复制jbr文件夹中的所有内容,将所有内容粘贴到jre文件夹中。
再次运行flutter doctor。

英文:

Go to C:\Program Files\Android\Android Studio then copy all the content of jbr and paste all that content into the jre folder.
Run flutter doctor again

huangapple
  • 本文由 发表于 2023年2月6日 15:40:51
  • 转载请务必保留本文链接:https://go.coder-hub.com/75358518.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定