I've been setting up flutter on my MacBook and had a similar issue to when setting up on Windows... I run flutter doctor and get output like this:
[-] Android toolchain - develop for Android devices
• Android SDK at /Users/danny/Dev/android
• ANDROID_HOME = /Users/danny/Dev/android
✗ Android SDK is missing command line tools; download from https://goo.gl/XxQghQ
• Try re-installing or updating your Android SDK,
visit https://flutter.io/setup/#android-setup for detailed instructions.
I'd downloaded the SDK and used sdkmanager to install the things I thought I needed (platform-tools, build-tools, etc.). The message above just says I need "command line tools" and links to the Android Studio install page.
What was actually missing is the platform package, which I installed using sdkmanager "platforms;android-26".
I remember having similar confusion on Windows; it wasn't obvious what I still needed to install. It would be great if "command line tools" in the message could be extended to be more specific about what's missing. Since Android Studio isn't the only flutter IDE it should be easy for someone that doesn't want to install it to get set up.
I've been setting up flutter on my MacBook and had a similar issue to when setting up on Windows... I run
flutter doctorand get output like this:I'd downloaded the SDK and used
sdkmanagerto install the things I thought I needed (platform-tools, build-tools, etc.). The message above just says I need "command line tools" and links to the Android Studio install page.What was actually missing is the
platformpackage, which I installed usingsdkmanager "platforms;android-26".I remember having similar confusion on Windows; it wasn't obvious what I still needed to install. It would be great if "command line tools" in the message could be extended to be more specific about what's missing. Since Android Studio isn't the only flutter IDE it should be easy for someone that doesn't want to install it to get set up.