错误:无法在Android Studio的SDK中找到ADB [英] Error:Unable to locate adb within SDK in Android Studio
问题描述
有人知道这意味着什么吗?我对Android不太满意。当我单击模拟器上的运行按钮时,会显示此消息。
Does anyone know what this means? I'm kind of noobish to Android. When I click the "run" button on my simulator I get this message.
可抛出:无法在SDK中找到adb
Throwable: Unable to locate adb within SDK
我正在运行最新版本的 0.8.14
。
I am running the latest version, 0.8.14
.
编辑:我正在使用Android Studio
I'm using Android Studio
推荐答案
ADB
现在位于 Android SDK平台工具中。
- 检查您的
[sdk目录] / platform-tools
目录,如果该目录不存在,则在Android Studio中打开 SDK管理器(顶部的某个按钮菜单,带有向下箭头的android徽标),切换到 SDK工具标签,然后选择/安装 Android SDK平台工具。
- Check your
[sdk directory]/platform-tools
directory and if it does not exist, then open the SDK manager in the Android Studio (a button somewhere in the top menu, android logo with a down arrow), switch to SDK tools tab and and select/install the Android SDK Platform-tools.
- 或者,您可以尝试使用独立的SDK Manager:打开SDK管理器,您应该在设置窗口底部的某个地方看到启动独立SDK管理器链接。单击并打开独立的SDK管理器,然后安装/更新
工具> Android SDK平台工具。
"Tools > Android SDK platform tools".
-
如果以上方法不能解决问题,请尝试重新安装工具:打开独立SDK管理器并卸载Android SDK平台工具,完全删除
[您的sdk目录] / platform-tools
目录,然后使用重新安装SDK管理器。
If the above does not solve the problem, try reinstalling the tools: open the "Standalone SDK manager" and uninstall the Android SDK platform-tools, delete the
[your sdk directory]/platform-tools
directory completely and install it again using the SDK manager.
检查防病毒箱。有时防病毒程序认为adb.exe是病毒。如果在此找到它,请还原该文件,它将开始工作。您也可以将adb.exe作为安全文件放入防病毒程序中。
Check your antivirus chest. Sometimes the Antivirus program thinks adb.exe is a virus. If you find it there please restore the file and it will start working. You can also put adb.exe as a safe file in you Antivirus program.
希望这会有所帮助!
这篇关于错误:无法在Android Studio的SDK中找到ADB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!