繁体   English   中英

Flutter Doctor 发现了 2 类问题

[英]Flutter Doctor found issues in 2 categories

我已将我的 mac os 更新到 10.15 Beta,不幸的是在那之后我的 flutter 应用程序开始异常工作,最初现在解决了一个 dart 扩展权限异常,并且已经通过下面提到的链接并实现了更多错误,现在在我运行 flutter doctor 之后 - v 在我的电脑中,我得到了以下信息,请帮我解决这个问题,提前致谢。

[!] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.15 19A471t, locale en-GB)
    • Flutter version 1.5.4-hotfix.2 at /Users/harshavardhan/development/flutter
    • Framework revision 7a4c33425d (6 weeks ago), 2019-04-29 11:05:24 -0700
    • Engine revision 52c7a1e849
    • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)
    ✗ Downloaded executables cannot execute on host.
      See https://github.com/flutter/flutter/issues/6207 for more information



[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/harshavardhan/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[!] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    ✗ Xcode requires additional components to be installed in order to run.
      Launch Xcode and install additional required components when prompted.
    • ios-deploy 1.9.4
    • CocoaPods version 1.7.1

[✓] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 33.3.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] VS Code (version 1.35.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.1.0

[✓] Connected device (1 available)
    • iPhone Xʀ • 3999B2E6-E5DD-4726-9A0D-8B17A3CA5674 • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)

! Doctor found issues in 2 categories.

链接在这里:: https : //github.com/flutter/flutter/issues/21859

根据手头的当前详细信息,您的 flutter checkout 似乎缺少必需的文件。 解决此问题的方法是执行回滚或全新安装 Flutter。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM