问题描述
有人知道这是什么意思吗?当我点击运行"时我的模拟器上的按钮我收到了这条消息.
Throwable:无法在 SDK 中定位 adb
我运行的是最新版本,0.8.14
.
ADB
现在位于 Android SDK 平台工具中.
- 检查您的
[sdk directory]/platform-tools
目录,如果它不存在,则在 Android Studio 中打开 SDK 管理器(位于顶部菜单,带有向下箭头的 android 徽标),切换到 SDK 工具 标签并选择/安装 Android SDK 平台工具.
- 或者,您可以尝试独立 SDK 管理器:打开 SDK 管理器,您应该会在设置窗口底部的某处看到启动独立 SDK 管理器"链接.单击并打开独立 SDK 管理器,然后安装/更新
工具 > Android SDK 平台工具".
如果以上都没有解决问题,请尝试重新安装工具:打开Standalone SDK manager"并卸载Android SDK platform-tools,删除
[your sdk directory]/platform-tools
目录并使用 SDK 管理器重新安装.检查您的防病毒箱.有时防病毒程序认为 adb.exe 是病毒.如果您在那里找到它,请恢复该文件,它将开始工作.您还可以将 adb.exe 作为安全文件放入您的防病毒程序中.
希望这有帮助!
Does anyone know what this means? When I click the "run" button on my simulator I get this message.
I am running the latest version, 0.8.14
.
The ADB
is now located in the Android SDK platform-tools.
- 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.
- Alternatively, you can try the standalone SDK Manager: Open the SDK manager and you should see a "Launch Standalone SDK manager" link somewhere at the bottom of the settings window. Click and open the standalone SDK manager, then install/update the
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.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.
Hope this helps!
这篇关于错误:无法在 Android Studio 的 SDK 中找到 adb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!