简体   繁体   English

未找到 Android SDK 文件:adb

[英]Android SDK file not found: adb

I install the android studio to start learning flutter when I run in the command prompt "flutter doctor" this message " Android SDK file not found: adb."当我在命令提示符“flutter doctor”中运行此消息“找不到Android SDK文件:adb”时,我安装了android studio开始学习flutter。 appeared on my console I tried uninstalling the android studio and re-installing it didn't work ... any ideas?出现在我的控制台上我尝试卸载 android studio 并重新安装它没有用......有什么想法吗?

Thanks in advance提前致谢

Welcome to stack overflow.欢迎使用堆栈溢出。 You're missing the Android Debug Bridge which is in the Android SDK Platform-Tools.您缺少 Android SDK Platform-Tools 中的 Android Debug Bridge。 In Android Studio:在 Android Studio 中:

  • click Tools > SDK Manager单击工具 > SDK 管理器
  • click on the SDK Tools tab单击SDK Tools选项卡
  • check the checkbox next to "Android SDK Platform-Tools"选中“Android SDK Platform-Tools”旁边的复选框
  • click Apply or OK.单击应用或确定。

Then add the path to adb to your $PATH / %PATH% environment variable if it's not already there.然后将adb的路径添加到您的$PATH / %PATH%环境变量(如果它还没有)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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