0
点赞
收藏
分享

微信扫一扫

flutter check

flutter doctor
Running "flutter pub get" in flutter_tools...                       7.0s
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.5, on Mac OS X 10.14.6 18G103 darwin-x64,
    locale zh-Hans-CN)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from:
      https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK
      components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup
      for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✗] Xcode - develop for iOS and macOS
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS
      development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
        sudo xcodebuild -runFirstLaunch
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.3.4)
[✓] VS Code (version 1.55.2)
[✓] Connected device (1 available)

! Doctor found issues in 3 categories.

说明:
①. flutter doctor:
    a. 检查环境并在终端窗口中显示报告.
    b. 查看是否需要安装其它依赖项.
    c. Dart SDK已经在捆绑在Flutter里了,没有必要单独安装Dart.

②. -v参数显示详细信息.

(1). CocoaPods install:

sudo gem install cocoapods


(1). down page:

https://developer.android.com/studio
https://developer.android.google.cn/studio

举报

相关推荐

0 条评论