'Flutter Unable to run "adb", check your Android SDK installation and ANDROID_SDK_ROOT environment variable
everytime i run flutter doctor i am facing this issue how can i get rid out of it plz hep. flutter error
Solution 1:[1]
Kindly first of all check your latest sdk first step:

Third step:
Run flutter doctor --android-licenses Press Y against each agreement
If you have done above steps then please follow the bellow process
Flutter provides a command to update the Android SDK path:
Use flutter config --android-sdk <path-to-your-android-sdk-path>
Normally the Android SDK path is C:\Users[your Local user folder]\AppData\Local\Android\Sdk
Solution 2:[2]
For Me. The problem is the antivirus program. It denied access to starting the flutter daemon on port 5037. I disabled/exited the antivirus program. Then it works.
Solution 3:[3]
This generally occurs if the platform-tools are not installed properly. Reinstalling the platform tools might fix this problem. Open Android Studio, click SDK Manager in the toolbar or click Tools > SDK Manager, click SDK Tools, then uncheck Android-SDK Platform-Tools (as shown above). After this, open C:\Users\Username\AppData\Local\Android\Sdk and delete the platform-tools folder. Then go back to Android Studio and in the SDK Tools, check-mark ‘?’ Android-SDK Platform-Tools.
Solution 4:[4]
First, please don't post screenshots. They are hostile to those of us who might want a slightly larger font. :)
Second, as I recall, ANDROID_SDK_ROOT should not be the name of the adb, but rather the folder it is in. Follow the instructions for windows installations very carefully on points like this.
Edit: details for setting this variable are in the documentation.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Jagadish |
| Solution 2 | El Hassan Ghannmi |
| Solution 3 | mmmgreen |
| Solution 4 | Randal Schwartz |

