美文网首页
flutter ✗ Unable to find bundle

flutter ✗ Unable to find bundle

作者: 何康老鬼 | 来源:发表于2021-08-04 11:23 被阅读0次

MacBook-Pro-2:~ liuliuwenchao$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.3, on Mac OS X 10.15.7 19H2, locale
zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
[!] Android Studio (version 2020.3)
✗ Unable to find bundled Java version.
[✓] VS Code (version 1.58.2)
[!] Connected device
! Error: iPhone is not connected. Xcode will continue when iPhone is
connected. (code -13)
! Doctor found issues in 2 categories.

执行以下命令行解决
cd /Applications/Android\ Studio.app/Contents/jre
ln -s ../jre jdk
ln -s "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin" jdk

然后再执行 flutter doctor

相关文章

网友评论

      本文标题:flutter ✗ Unable to find bundle

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