[Solved] Android sdkmanager Command Not Found Error in Flutter in 2023

- Advertisement -

If you face an issue with the ” android sdkmanager command not found error” in flutter then you are in the right place. In this article, we will solve this error “sdkmanager command not found”. The error may look like this:

Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this.
- Advertisement -

This kind of error you may be found in Windows OS or MAC Os or Linux OS. It doesn’t matter from which OS version you face this issue. We will solve this issue for all OS.

This issue happens for the missing Android SDK Tools and Android SDK Command-line Tools on SDK manager. In that case, if you don’t have the Android SDK then you have to install it.

How to Solve Android sdkmanager Command Not Found Error in Flutter

Open SDK Manager in Android Studio:

At first open the SDK manager on Android Studio by following images:

android sdk manager
- Advertisement -

Click the three dots > SDK Manager.

Or if you already open the android studio project then:

sdk manager tools

Install Android SDK Tools and Android SDK Command-line Tools:

Now you have open the Android studio. Now uncheck the option named Hide Obsolete Packages. Then go to Tools > SDK Manager > SDK Tools tab. Now install Android SDK Tools and Android SDK Command-line Tools.

sdkmanager command not found

Now, it’s time to check the command “flutter doctor –android-licenses” in your terminal to check if the error still occur or not. If you still face the issue sdkmanager command not found flutter then go to this path: C:\Users\user_name\AppData\Local\Android\Sdk\cmdline-tools and check if it has latest file.

latest android sdk

If you have more than the latest file like latest-2 or like this then delete the latest file and rename latest-2 to latest. When android download multiple SDK or new SDK then it automatically creates the name latest-2 or like this. So if you want to delete the old file then you have to delete the old latest file and rename the current latest 2 to latest.

In this way, we can solve the android sdkmanager command not found error.

Read More:

How To Run Flutter App In Android Emulator?

- Advertisement -

Help Us!!!

We are expert developer providing free content to help the flutter learner. We need your support. Your little support inspire us 🤗

Md Nazmul Islam
Md Nazmul Islamhttps://flutterservice.com/
Flutter Developer | Technical Writer | App Store Optimizer - I have been developing mobile apps and libraries using Google’s Flutter framework since its inception. I have also skilled in the native android platform. I love to solve problems and share knowledge from my technical writing skill. I have experience in App store optimization.

Related blog posts