configuration - Flutter macOS high Sierra 错误

标签 configuration flutter macos-high-sierra

我按照 Flutter 网站上的说明进行操作。 Flutter Doctor 警告如下。我的问题我不知道如何克服这个错误、警告等。

有什么帮助吗?

/Users/niyazitoros/development/flutter/flutter/bin/flutter --no-color doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.2.3, on Mac OS X 10.13.4 17E199, locale tr-TR)
[!] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[!] iOS toolchain - develop for iOS devices (Xcode 9.3)
    ✗ Missing Xcode dependency: Python module "six".
      Install via 'pip install six' or 'sudo easy_install six'.
    ✗ CocoaPods installed but not initialized.
        CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
        For more info, see https://flutter.io/platform-plugins
      To initialize CocoaPods, run:
        pod setup
      once to finalize CocoaPods' installation.
[✓] Android Studio (version 3.1)
[✓] IntelliJ IDEA Community Edition (version 2018.1)
[!] Connected devices
    ! No devices available

! Doctor found issues in 3 categories.
Process finished with exit code 0

纠正 flutter 路径后,医生给了我这个警告。

/Users/niyazitoros/development/flutter/bin/flutter --no-color doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.2.3, on Mac OS X 10.13.4 17E199, locale tr-TR)
[!] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[!] iOS toolchain - develop for iOS devices (Xcode 9.3)
    ✗ Missing Xcode dependency: Python module "six".
      Install via 'pip install six' or 'sudo easy_install six'.
[✓] Android Studio (version 3.1)
[✓] IntelliJ IDEA Community Edition (version 2018.1)
[!] Connected devices
    ! No devices available

! Doctor found issues in 3 categories.
Process finished with exit code 0

最佳答案

要修复 android SDK 许可证错误,请在您的终端上输入

flutter doctor --android-licenses 

然后

pip install six

如果错误仍然存​​在运行

flutter upgrade 

关于configuration - Flutter macOS high Sierra 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49734073/

相关文章:

java - 如何在java中使用swagger生成开放API规范时排除父类(super class)的属性

configuration - 如何以编程方式从 php 获取 phpinfo() 变量?

flutter - 在 flutter 中为 SliverGrid 背景添加边框半径

flutter - 标签列表中一排排圆形按钮触发在一起

node.js - 文件夹访问 node_modules 时出现 npm 权限错误

java - 如何在 Java Applet 中保存一些配置信息?

flutter - 由于行 flutter 之间的列而导致像素错误

ios - Codesign 在 High Sierra 中返回了 errSecInternalComponent

swift - 苹果系统。用管理员权限替换共享文件夹中的应用程序

apache - 如何为 Apache Nutch 2.x 创建自定义索引编写器?