Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to accept Android license so that I am trying to run flutter doctor –android-licenses command but I am facing following error: Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this in Flutter. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
How Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this Error Occurs ?
I am trying to accept Android license so that I am trying to run flutter doctor –android-licenses command but I am facing following error.
Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this
How To Solve Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this Error ?
- How To Solve Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this Error ?
To Solve Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this Error Just Install Android SDK Command-line tools from Android SDK Manager is solved my error. This solution is worked for me. Open Tools > SDK Manager From the left choose, Appearance & Behavior > System Settings > Android SDK. Select SDK Tools from the top menu Check Android SDK Command-line tools and click ‘apply’. After Android Studio completed the installation, you can accept the licenses as expected: flutter doctor –android-licenses After choosing “yes” for all licenses, the android licenses are accepted. To confirm: flutter doctor -v. Now, Your error must be solved.
- Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this
To Solve Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this Error Install Android SDK Command-line Tools. Open SDK Manager Top Menu -> Tools -> SDK Manager. Then, Install command-line tools. Unfold Appearance & Behavior Unfold System Settings Click Android SDK Click tab of SDK Tools Check Android SDK Command-line Tools (latest). Click OK and Android Studio can install it. Now, Your error must be solved.
Solution 1: Install Android SDK Command-line tools
Just Install Android SDK Command-line tools from Android SDK Manager is solved my error. This solution is worked for me.
- Open Tools > SDK Manager
- From the left choose, Appearance & Behavior > System Settings > Android SDK
- Select SDK Tools from the top menu
- Check Android SDK Command-line tools and click ‘apply’.

After Android Studio completed the installation, you can accept the licenses as expected:
flutter doctor --android-licenses
After choosing “yes” for all licenses, the android licenses are accepted. To confirm:
flutter doctor -v
Now, Your error must be solved.
Solution 2: clear the android-studio-dir
I recommend clearing the android-studio-dir and android-sdk settings, and let flutter automatically detects their path instead: This works for me .
flutter config --android-studio-dir=""
flutter config --android-sdk=""
Now, Your problem must be solved.
Solution 3: Install This
- Install Android SDK Command-line Tools.
- Open SDK Manager Top Menu -> Tools -> SDK Manager.
- Then, Install command-line tools.
- Unfold Appearance & Behavior
- Unfold System Settings
- Click Android SDK
- Click tab of SDK Tools
- Check Android SDK Command-line Tools (latest).
- Click OK and Android Studio can install it.
- Now, Your error must be solved.
Summary
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read
- Android license status unknown. Run `flutter doctor –android-licenses` to accept the SDK licenses
- Your project requires a newer version of the Kotlin Gradle plugin
- TypeError: Cannot read properties of undefined (reading ‘app’)
- How to add borders to a widget in Flutter
- Failed to start DevTools: Dart DevTools exited with code 255