简体   繁体   中英

"unable to run adb.exe , check your android sdk installation and ANDROID_SDK_ROOT" showing when i am running flutter doctor

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

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";

我通过从 SDK-Manager 更新平台工具解决了同样的问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM