I'm trying to get my very first Flutter application up and running. When I ran flutter doctor
it was saying that I was missing Android SDK, so I installed sdkmanager and ran:
sdkmanager "platform-tools" "platform;android-29" "build-tools;28.0.3"
From there I ran flutter config --android-sdk /opt/android-sdk
I got an error saying that I'm missing cmdline-tools, however I don't have Android Studio and don't want to as well. So I went on Android Studio's website and downloaded a manual cmdline-tools and moved the file to android-sdk. OK so far so good, right? No, now I needed to run flutter doctor --android-licenses
and it's saying Android sdkmanager not found. Why? Is there something I'm missing? I'm doing all of this in Ubuntu.
- Below is the image of flutter doctor status
- Shows me running flutter doctor --android-licenses
- As well as shows the path to the android-sdk in the terminal
- I have as well set flutter config --android-sdk to the correct path and is the reason why flutter doctor has no issues with finding the android-sdk