Flutter Unable to run "adb", check your Android SDK installation and ANDROID_SDK_ROOT environment variable
3,274
Solution 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
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.
Author by
Aditya prasad
Updated on December 26, 2022Comments
-
Aditya prasad over 1 year
everytime i run flutter doctor i am facing this issue how can i get rid out of it plz hep. flutter error
-
Mohammad Mirshahbazi over 3 yearsPlease reinstall the Flitter and Android SDK and try agin!
-
-
Jagadish over 3 yearsHope this helps you...if not please inform in comments