Recently I upgraded my Mac to Catalina.
I installed Java, set JAVA_HOME
to $(/usr/libexec/java_home)
as per the documentation. I installed Android Studio and SDK tools and set the ANDROID_HOME
variable to /Users/username/Library/Android/sdk
.
I downloaded flutter, and added flutter/bin
to my env variable $PATH
, and when I run flutter doctor
, it's running fine and giving me the results as expected, without all the features checked however as I am setting it up for the first time.
But when I run flutter doctor --android-licenses
, it's giving me an error which says:
Android sdkmanager tool was not found, try re-installing or upgrading your Android SDK.