background
The computer is Mac
It is Android development itself, so it has a working Android environment.
Error: command line error after flutter doctor execution:
Android sdkmanager tool not found
(/Users/xx/android-sdk/tools/bin/sdkmanager).
Try re-installing or updating your Android SDK,
visit https://flutter.io/setup/#android-setup for detailed instructions.
Copy the code
To solve the process
Search for sdkManager in the Android-SDK directory and find
sdkmanager
Located in theandroid-sdk/emulator/bin
;android-sdk/tools/
nobin/
directory
The solution
Copy the android-sdk/emulator/bin directory to android-sdk/tools/ and execute flutter doctor again.