I have started with the setup of flutter updated version and am a total beginner in this platform. This is the error I have been getting. Could you please help me?
Either install Android Studio to get the required dependecies or download an android sdkmanager and check its path (path/to/sdkmanager should be the path to that).
To avoid any problems for beginners, I would just install Android Studio here, set it up until it installs the android sdk, then switch to Flutter: that was the only way to fix this since some time ago if I remember correctly
4
Answers
You have to install Android SDK Command-line Tools (in SDK Manager).
After Installing, accept the android licensces (in CMD)
Either install Android Studio to get the required dependecies or download an android sdkmanager and check its path (
path/to/sdkmanager
should be the path to that).To avoid any problems for beginners, I would just install Android Studio here, set it up until it installs the android sdk, then switch to Flutter: that was the only way to fix this since some time ago if I remember correctly
Please first run this command
flutter doctor –android-licenses
then follow this link : Android/Sdk is missing a Tools folder, meaing no sdkmanager, meaning "Android license status unknown" error
Create a directory (android-sdk) to install android-sdk
Download Command Line Tools
Create a directory and Uncompres Command Line Tools to
android-sdk/cmdline-tools/latest
folderAdd
android-sdk/cmdline-tools/latest/bin
toPATH
run:
android-sdk/platform-tools
Ready!! can run
flutter doctor
again