Flutter macOS high Sierra error

2,006

to fix the android SDK licence error go on your terminal and type

flutter doctor --android-licenses 

then

pip install six

if the error still persists run

flutter upgrade 
Share:
2,006
Admin
Author by

Admin

Updated on December 04, 2022

Comments

  • Admin
    Admin over 1 year

    I follow the instruction on Flutter site. Flutter Doctor warning is below. My problem I don't know how to overcome from this error, warning etc.

    Any help please?

    /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
    

    After correcting the flutter path doctor gives me this warning.

    /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
    
  • Jashan PJ
    Jashan PJ almost 6 years
    I tried the upgrade, didnt work though. Any fresh ideas?
  • Admin
    Admin almost 6 years
    I had another MacBook and had similar problems. Clean install and step by step helps me on that. flutter.io/setup-macos