美文网首页
1.Unable to find bundled Java ve

1.Unable to find bundled Java ve

作者: ChaosHeart | 来源:发表于2021-10-15 10:57 被阅读0次

    (1)错误:

    [!] Android Studio (version 2020.3)
        ✗ Flutter plugin not installed; this adds Flutter specific functionality.
        ✗ Dart plugin not installed; this adds Dart specific functionality.
        ✗ Unable to find bundled Java version.
    

    (1)解决:

    (1)生成替身文件

    ln -s ~/Library/Application\ Support/Google/AndroidStudio2020.3/plugins ~/Library/Application\ Support/AndroidStudio2020.3
    

    (2)重启终端

    flutter doctor
    
    截屏2021-08-09 下午3.10.35.png

    (2)报错:

    Unable to find bundled Java version
    

    (2)解决:

    (1)如果 /Applications/Android Studio.app/Contents/jre 下没有 jdk 文件夹,创建一个文件夹。
    将 /Applications/Android Studio.app/Contents/jre/Contents 整个拷贝到jdk下一份。
    (2)重启终端

    flutter doctor
    
    截屏2021-08-09 下午3.10.09.png

    (3)设置中文

    截屏2021-08-09 下午3.16.24.png

    参考:
    https://www.jianshu.com/p/30997d0bd830

    相关文章

      网友评论

          本文标题:1.Unable to find bundled Java ve

          本文链接:https://www.haomeiwen.com/subject/vlpzvltx.html