mopondys-iMac:~ zyc$ flutter doctorDoctor summary (to see all details, run flutter doctor -v):[] Flutter (Channel dev, v1.16.2, on Mac OS X 10.14.1 18B75, locale zh-Hans-CN) [!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses[!] Xcode - develop for iOS and macOS (Xcode 10.1)    ✗ Flutter requires a minimum Xcode version of 11.0.0.      Download the latest version or update via the Mac App Store.    ! CocoaPods 1.5.3 out of date (1.8.0 is recommended).        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 upgrade:        sudo gem install cocoapods[] Android Studio (version 3.5)[!] IntelliJ IDEA Ultimate Edition (version 2019.1.3)    ✗ Flutter plugin not installed; this adds Flutter specific functionality.    ✗ Dart plugin not installed; this adds Dart specific functionality.[] Connected device (1 available)

进入到sdk目录下的tools/bin目录下:/sdk/tools/bin
然后执行 sdkmanager --licenses
安装提示,一直按 y即可

mopondys-iMac:bin zyc$ flutter doctorDoctor summary (to see all details, run flutter doctor -v):[] Flutter (Channel dev, v1.16.2, on Mac OS X 10.14.1 18B75, locale zh-Hans-CN) [] Android toolchain - develop for Android devices (Android SDK version 29.0.2)[!] Xcode - develop for iOS and macOS (Xcode 10.1)    ✗ Flutter requires a minimum Xcode version of 11.0.0.      Download the latest version or update via the Mac App Store.    ! CocoaPods 1.5.3 out of date (1.8.0 is recommended).        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 upgrade:        sudo gem install cocoapods[] Android Studio (version 3.5)[!] IntelliJ IDEA Ultimate Edition (version 2019.1.3)    ✗ Flutter plugin not installed; this adds Flutter specific functionality.    ✗ Dart plugin not installed; this adds Dart specific functionality.[] Connected device (1 available)! Doctor found issues in 2 categories.

配置环境变量名
sdk: ANDROID_HOME

更多相关文章

  1. Android中判断网络是否连接并提示设置
  2. android部分机型选择图片提示错误
  3. 如何在Mac/Linux上设置android环境变量
  4. Android01--开发环境搭建
  5. 【Android】win10操作系统下Android开发环境配置
  6. ubuntu下cocos2d--Android环境搭建
  7. android studio对于错误拼写/不识别的英文单词,给予波浪提示。
  8. Android系统基础(02) 系统源码环境搭建

随机推荐

  1. Android获取通话记录【名称,号码,日期,通话
  2. android弹出软键盘时,editText被遮挡一部
  3. Android自定义控件布局刷新自定义控件回
  4. 6.1、Android中从Internet获取数据
  5. android 广告收集总结
  6. Ubunu下搭建android NDK环境
  7. Android基于基于布局嵌套的页面导航实现
  8. Android(安卓)Dialog的使用
  9. Android(安卓)studio使用心得(九)------
  10. framebuffer (2)