简体   繁体   English

Throwable:无法在 SDK 中找到 adb

[英]Throwable: Unable to locate adb within SDK

I am new to Android development.我是 Android 开发的新手。 I have Android Studio running in ubuntu, but when I go to run my first app, it says "Throwable unable to locate adb" .我在 ubuntu 中运行 Android Studio,但是当我去运行我的第一个应用程序时,它显示“Throwable 无法定位 adb”

I can't find anything online matching the error I am getting.我在网上找不到与我收到的错误相匹配的任何内容。

In Android Studio, Click on 'Tools' on the top tab bar of android studio在 Android Studio 中,点击 android studio 顶部标签栏上的“工具”

Tools >> Android >> SDK Manager >> Launch Standalone Sdk manager工具 >> Android >> SDK 管理器 >> 启动独立 Sdk 管理器

there you can clearly see which platform tool is missing , then just install that and your adb will start working properly.在那里您可以清楚地看到缺少哪个平台工具,然后只需安装它,您的 adb 就会开始正常工作。 In Image You Can see every thing在图像中你可以看到一切

目录的图像 It's located in your sdk/platform-tools folder它位于您的sdk/platform-tools文件夹中

单击工具栏上的运行,选择运行而不是运行应用程序,在选择运行应用程序中会出现一个弹出窗口,您的 adb 将初始化。

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

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