0

when i am running flutter doctor in my command promt and error pops up saying

"connected device : (the doctor check crashed ) due to an error, the doctor check did not complete. exception: unable to run"adb",check your android sdk installation and ANDROID_SDK_ROOT enviroment variable: c:\users\sayan\appdata\local\android\sdk\platfotm-tools\adb.exe"

i dont know hoe to solve this error i will be greatfull if anybody helps me to solve this

2 Answers 2

2

add the path of "Android SDK" you downloaded to "environment variables" as "ANDROID_HOME"; also inside the sdk there are 2 folders platform-tools and tools => add their paths to "Path" in "environment variables";

Sign up to request clarification or add additional context in comments.

1 Comment

Happy to help! :)
1

I had the same issue solved by Updating platrorm-tools from SDK-Manager.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.