简体   繁体   English

错误:无法在 Android Studio 的 SDK 中找到 adb

[英]Error:Unable to locate adb within SDK in Android Studio

Does anyone know what this means?有谁知道这意味着什么? When I click the "run" button on my simulator I get this message.当我单击模拟器上的“运行”按钮时,我收到此消息。

Throwable: Unable to locate adb within SDK Throwable:无法在 SDK 中找到 adb

I am running the latest version, 0.8.14 .我正在运行最新版本0.8.14

The ADB is now located in the Android SDK platform-tools . ADB现在位于Android SDK 平台工具中。

  1. 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 directory]/platform-tools目录,如果它不存在,则在 Android Studio 中打开SDK 管理器(顶部菜单中的某个按钮,带有向下箭头的 android 徽标),切换到SDK 工具选项卡并并选择/安装Android SDK Platform-tools

在此处输入图像描述 在此处输入图像描述 在此处输入图像描述

  1. 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.或者,您可以尝试独立 SDK 管理器:打开 SDK 管理器,您应该会在设置窗口底部的某处看到“启动独立 SDK 管理器”链接。 Click and open the standalone SDK manager, then install/update the单击并打开独立 SDK 管理器,然后安装/更新

"Tools > Android SDK platform tools". “工具 > Android SDK 平台工具”。

  1. 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.如果以上方法没有解决问题,请尝试重新安装工具:打开“Standalone SDK manager”并卸载Android SDK platform-tools,将[your sdk directory]/platform-tools目录彻底删除,然后使用SDK重新安装经理。

  2. Check your antivirus chest.检查您的防病毒箱。 Sometimes the Antivirus program thinks adb.exe is a virus.有时防病毒程序认为 adb.exe 是病毒。 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.您还可以将 adb.exe 作为安全文件放入您的防病毒程序中。

在此处输入图像描述 在此处输入图像描述

Hope this helps!希望这可以帮助!

In my case I had no SDK selected for my project(not sure why).在我的情况下,我没有为我的项目选择 SDK(不知道为什么)。 Simply went to Project Structure dialog ( alt+ctrl+shift+s or button 1 on the screen) and then to project-> Project SDK's was selected <no SDK> .只需转到 Project Structure 对话框(屏幕上的alt+ctrl+shift+s或按钮 1),然后选择 project-> Project SDK's <no SDK> Just changed it to the latest刚改成最新的

项目结构对话框

For anyone who is still running into this issue.对于仍然遇到此问题的任何人。 I had a similar problem where I could see my device from adb on the command line using adb devices but Android Studio would not recognize when I had a device attached and would throw either:我有一个类似的问题,我可以在命令行上使用adb devices从 adb 看到我的设备,但是当我连接了设备时 Android Studio 无法识别并且会抛出:

  • Unable to locate adb within SDK or Unable to locate adb within SDK
  • Unable to obtain result of 'adb version'

    I had tried start/stops of adb, uninstalls, of platform-tools, and more.我尝试过启动/停止 adb、卸载、平台工具等。 What I found was that inside my C:\Users\<UserName>\AppData\Local\Android folder I had multiple sdk folders.我发现在我的C:\Users\<UserName>\AppData\Local\Android文件夹中我有多个 sdk 文件夹。 I performed the following:我执行了以下操作:

    1. Unistall Platform-Tools using Android Studio's SDK Manager使用 Android Studio 的 SDK 管理器卸载平台工具
    2. Deleted all platform-tools\ directories within each C:\Users\<UserName>\AppData\Local\Android\sdk* directory删除了每个C:\Users\<UserName>\AppData\Local\Android\sdk*目录中的所有platform-tools\目录
    3. Reinstalled Platform-Tools using Android Studio's SDK Manager使用 Android Studio 的 SDK 管理器重新安装 Platform-Tools

Hope this helps someone someday with their issue.希望有一天这可以帮助某人解决他们的问题。

If you are using Android Studio and have AVG virus protection, the adb.exe file might be in the Virus Vault.如果您使用的是 Android Studio 并具有 AVG 病毒防护,则 adb.exe 文件可能位于病毒库中。 This was my problem.这是我的问题。 To fix: Open AVG.解决方法:打开 AVG。 Select Options (top right), then Virus Vault.选择选项(右上角),然后选择病毒库。 If you see the adb.exe file in there, select it and then click Restore.如果您在其中看到 adb.exe 文件,请选择它,然后单击“还原”。

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 就会开始正常工作。

Fully install at-least one Api package (Android Api 23 or 24) .完全安装至少一个 Api 包(Android Api 23 或 24)。

试试这个: File->project Structure into Project Structure Left > SDKs SDK location 选择 Android SDK location (旧版本使用 Press +,添加另一个 sdk)

Finally after several hours of investigation I think I have another solution for everyone having issues with AVD Manager "Unable to locate adb".最后经过几个小时的调查,我想我为每个遇到 AVD 管理器“无法找到 adb”问题的人提供了另一种解决方案。

I know we have the setting for the SDK in File -> Settings -> Appearance & Behavior -> System Settings -> Android SDK.我知道我们在 File -> Settings -> Appearance & Behavior -> System Settings -> Android SDK 中有 SDK 的设置。 This it seems is not enough!这似乎还不够! It appears that Android Studio (at least the new version 4) does not give projects a default SDK, despite the above setting.尽管有上述设置,Android Studio(至少是新版本 4)似乎没有为项目提供默认 SDK。

So, you also (for each project) need to go to File -> Project Structure -> Project Settings -> Project, and select the Project SDK, which is set to [No SDK] by default.因此,您还(对于每个项目)需要转到 File -> Project Structure -> Project Settings -> Project,然后选择 Project SDK,默认设置为 [No SDK]。

If there's nothing in the drop-down box, then select New, select Android SDK, and navigate to your Android SDK location (normally C:\Users[username]\AppData\Local\Android\Sdk on Windows).如果下拉框中没有任何内容,则选择 New,选择 Android SDK,然后导航到您的 Android SDK 位置(通常为 C:\Users[username]\AppData\Local\Android\Sdk 在 Windows 上)。 You will then be able to select the Android API xx Platform.然后,您将能够选择 Android API xx 平台。 You now should not get this annoying adb error.你现在不应该得到这个恼人的 adb 错误。

HTH高温高压

只需转到您的 SDK 管理器并安装Android SDK 工具

In my case it was a simple case of incorrect path.就我而言,这是一个简单的路径不正确的情况。 Simply went to Project Structure dialog (alt+ctrl+shift+s) and then to platform->SDK's and fixed Android SDK home path.只需转到项目结构对话框 (alt+ctrl+shift+s),然后转到平台-> SDK 和固定的 Android SDK 主路径。

修复 SDK 路径

I deleted and re-installed the Android SDK Platform-Tools 23 23.0.0 .我删除并重新安装了Android SDK Platform-Tools 23 23.0.0 This solved the problem.这解决了问题。 Yesterday i had done a complete update of the SDK using SDK Manager, deleting some parts that i believed i no longer needed and downloading updates.昨天我使用 SDK Manager 完成了 SDK 的完整更新,删除了一些我认为不再需要的部分并下载了更新。 Perhaps this was the source of the problem.也许这就是问题的根源。

Got the same problem.遇到了同样的问题。 MacOS, Android Studio 3.6.1, SDK Android 10.0. MacOS、Android Studio 3.6.1、SDK Android 10.0。

This is the directory where Android studio is looking for adb binary:这是 Android Studio 正在寻找 adb 二进制文件的目录:

$ cd ~/Library/Android/sdk/platform-tools/
➜  platform-tools $ ls
package.xml  platform-tools  signing_request_for.3232179dce22d8a6332018729026ed39f5d5cd0b.1585090071041.platform-tools_r29.0.6-darwin.filelist

However, the binary is in the one directory deeper:但是,二进制文件位于更深的一个目录中:

➜  platform-tools $ ls platform-tools
adb  dmtracedump  etc1tool  hprof-conv  make_f2fs  mke2fs.conf  sload_f2fs         sqlite3
api  e2fsdroid    fastboot  lib64       mke2fs     NOTICE.txt   source.properties  systrace

Simply make a soft link to current directory:只需对当前目录进行软链接:

➜  platform-tools $ ln -s platform-tools/adb ./
➜  platform-tools $ ls
adb          platform-tools
package.xml  signing_request_for.3232179dce22d8a6332018729026ed39f5d5cd0b.1585090071041.platform-tools_r29.0.6-darwin.filelist

This did trick for me.这对我有用。

PS Adding it to the PATH does not help, I can of course run it in terminal then, but Android Studio does not pick up PATH variable from .zshrc in MacOS. PS将它添加到PATH没有帮助,我当然可以在终端中运行它,但是Android Studio不会从MacOS中的.zshrc中获取PATH变量。

Detailed instructions with screenshots (works for M1 Mac and Windows 11)带有屏幕截图的详细说明(适用于 M1 Mac 和 Windows 11)

Make sure you have the latest android studio from https://developer.android.com/studio (not from homebrew or some other source)确保您拥有来自https://developer.android.com/studio的最新 android studio(不是来自自制软件或其他来源)

In android studio, open a project在android studio中,打开一个项目

  1. Install Android SDK Command-line Tools and Android SDK Platform-Tools安装 Android SDK 命令行工具和 Android SDK Platform-Tools

    Tools - SDK Manager工具 - SDK 管理器

    在此处输入图像描述

  2. Select a project SDK选择项目 SDK

    File - Project Structure文件 - 项目结构

    在此处输入图像描述

  3. Add the platform-tools and cmdline-tools to your Classpath将 platform-tools 和 cmdline-tools 添加到您的 Classpath

    File - Project Structure文件 - 项目结构

    在此处输入图像描述

yeah I have same experience是的,我有同样的经历

The ADB is now located in the platform-tools directory. ADB 现在位于 platform-tools 目录中。

  1. korsosa said Check your [sdk directory]/platform-tools directory, if it exists. korsosa 说检查你的 [sdk 目录]/platform-tools 目录,如果它存在的话。 If not, then open the SDK manager in the Android Studio (a button somewhere in the top menu, android logo with a down arrow), and download&install the Tools > Android SDK Platform-tools.如果没有,则在 Android Studio 中打开 SDK 管理器(顶部菜单中的某个按钮,带有向下箭头的 android 徽标),然后下载并安装 Tools > Android SDK Platform-tools。

  2. If you have platform-tools, you have check adb.exe file.如果你有平台工具,你有检查 adb.exe 文件。 In my case, that file was broken, so download that platform-tools again就我而言,该文件已损坏,因此请再次下载该平台工具

If you already have Android SDK Platform Tool installed then go to File > Settings > System Settings > Android SDK > Launch Standalone SDK Manager.如果您已经安装了 Android SDK 平台工具,请转到文件 > 设置 > 系统设置 > Android SDK > 启动独立 SDK 管理器。

There you will see in Tools Directory that Android SDK Platform-Tools is uninstalled.您将在工具目录中看到 Android SDK Platform-Tools 已卸载。 So deselect all and check that box and simply click on install button.所以取消全选并选中该框,然后单击安装按钮。

In my case I have tried the above but seems like adb won't get installed so all what I had to do is copy adb.exe to the folder and worked !就我而言,我已经尝试了上述方法,但似乎 adb 无法安装,所以我所要做的就是将 adb.exe 复制到文件夹并工作! I copied adb.exe and pasted on the following paths in my device:我复制了 adb.exe 并粘贴到我的设备中的以下路径:

C:\Users\Your-Device-username\AppData\Local\Android\sdk C:\Users\Your-Device-username\AppData\Local\Android\sdk

C:\Users\Your-Device-username\AppData\Local\Android\sdk\platform-tools C:\Users\Your-Device-username\AppData\Local\Android\sdk\platform-tools

Hope this helps somebody in need.希望这可以帮助有需要的人。

While all these answer might have been correct in my scenario it didn't work.虽然所有这些答案在我的场景中可能都是正确的,但它不起作用。 It all started when i uninstalled 2.* android studio version after getting 3.0rc1.这一切都始于我在获得 3.0rc1 后卸载 2.* android studio 版本。 But that screw up things and started getting this error.但这搞砸了事情并开始出现此错误。 After that i did followed majority of these steps and none of them worked.在那之后,我确实遵循了这些步骤中的大部分,但都没有奏效。 While analyzing SDK directory i noticed that i have two platform tools folder.在分析 SDK 目录时,我注意到我有两个平台工具文件夹。 The .backup had adb.exe where as the other one didn't. .backup 有 adb.exe 而另一个没有。 I just copied the .backup files in the other platform-tool folder and it fixed my issue.我刚刚将 .backup 文件复制到另一个平台工具文件夹中,它解决了我的问题。

在此处输入图像描述

I don't know probably is too late to answer to this question.我不知道回答这个问题可能为时已晚。 But if someone is in my situation and struggling with this problem will useful.但是,如果有人处于我的境地并且正在努力解决这个问题,那将很有用。

Few antivirus programs detect adb.exe as a virus.很少有防病毒程序将 adb.exe检测为病毒。 You should take a look in the place where antivirus is putting your detected threats and restore it from there.您应该查看防病毒软件放置检测到的威胁的位置并从那里恢复。 For Avast Antivirus is inside of virus chest因为Avast Antivirus位于病毒箱内

Hope it will be useful for someone !希望它对某人有用!

If you have an antivirus (such as AVG), you can take the file out of quarantine.如果您有防病毒软件(例如 AVG),您可以将文件从隔离区中取出。

Click Menu > Quarantine > Check box next to the adb.exe file > Arrow next to delete > Restore单击菜单 > 隔离 > adb.exe 文件旁边的复选框 > 删除旁边的箭头 > 恢复

But sometimes, the file will keep reappearing in the quarantine.但有时,该文件会不断重新出现在隔离区中。 The way to solve this is by clicking Restore and add exception , or by going to Menu > Setting > General > Exceptions > And adding something like this: C:\Users\Johndoe\AppData\Local\Android\Sdk\platform-tools\解决此问题的方法是单击Restore and add exception ,或转到 Menu > Setting > General > Exceptions > 并添加如下内容: C:\Users\Johndoe\AppData\Local\Android\Sdk\platform-tools\

Other antiviruses have similar equivalents of a "quarantine" that the APK file may be in.其他防病毒软件具有与 APK 文件可能位于的“隔离区”类似的等效项。

打开任务管理器找到服务adb.exe ,看到服务刚结束,再运行

even after downloading specific required file or everything, we could face file execution error.即使在下载了特定的所需文件或所有内容后,我们也可能面临文件执行错误。

a file execution fail could be due to following reasons:文件执行失败可能是由于以下原因:
1. user permission/s (inheritance manhandled). 1.用户权限/s(继承处理)。
2. corrupt file. 2.损坏的文件。
3. file being accessed by another application at the same time. 3. 文件同时被另一个应用程序访问。
4. file being locked by anti-malware / anti-virus software. 4. 文件被反恶意软件/杀毒软件锁定。

strangely my antivirus detected adb, avd and jndispatch.dll files as unclean files and dumped them to its vault.奇怪的是,我的防病毒软件将 adb、avd 和 jndispatch.dll 文件检测为不干净的文件,并将它们转储到其保管库中。

i had to restore them from AVG vault.我不得不从 AVG Vault 中恢复它们。 configure AVG to ignore (add folder to exception list) folder of AndroidStudio and other required folder.将 AVG 配置为忽略(将文件夹添加到例外列表)AndroidStudio 文件夹和其他所需文件夹。

if you are without antivirus and still facing this problem, remember that windows 7 and above have inbuilt 'windows defender'.如果您没有防病毒软件但仍面临此问题,请记住 Windows 7 及更高版本已内置“Windows Defender”。 see whether this fellow is doing the same thing.看看这家伙是否也在做同样的事情。 put your folder in antivirus 'exclusion' list as the vendor is trusted world wide.将您的文件夹放在防病毒“排除”列表中,因为供应商在全球范围内受到信任。

this same answer would go to ' Error in launching AVD with AMD processor '.同样的答案将转到“使用 AMD 处理器启动 AVD 时出错”。 i don't have enough reputation to answer this question there and there.我没有足够的声誉来在那里和那里回答这个问题。

Does anyone know what this means?有人知道这意味着什么吗? When I click the "run" button on my simulator I get this message.当我在模拟器上单击“运行”按钮时,会收到此消息。

Throwable: Unable to locate adb within SDK可抛出:无法在SDK中找到adb

I am running the latest version, 0.8.14 .我正在运行最新版本0.8.14

I had this issue with Android Studio 3 , the SDK manager somehow didn't include the full tools in platform-tools folder so I had to download it manually from:我在使用Android Studio 3时遇到了这个问题,SDK 管理器不知何故没有在 platform-tools 文件夹中包含完整的工具,所以我不得不从以下位置手动下载它:

https://developer.android.com/studio/releases/platform-tools.html https://developer.android.com/studio/releases/platform-tools.html

then extract it to my android/sdk/platform-tools/ folder然后将其解压缩到我的android/sdk/platform-tools/文件夹

if you have adb problem go to tools->sdk manager -> install missed sdk tools如果您有 adb 问题,请转到工具-> sdk 管理器-> 安装错过的 sdk 工具

my problem was solved using these way我的问题用这些方法解决了

Does anyone know what this means?有人知道这意味着什么吗? When I click the "run" button on my simulator I get this message.当我在模拟器上单击“运行”按钮时,会收到此消息。

Throwable: Unable to locate adb within SDK可抛出:无法在SDK中找到adb

I am running the latest version, 0.8.14 .我正在运行最新版本0.8.14

It's worked for me (Android Studio 3.1.3):它对我有用(Android Studio 3.1.3):

1. Make sure that 'Android SDK Platform-Tools' is installed: 1.确保安装了“Android SDK Platform-Tools”

Tools > SDK Manager > SDK Tools (Tab)工具 > SDK 管理器 > SDK 工具(选项卡)

2. Copy path of 'adb.exe' file. 2.复制“adb.exe”文件的路径。 Usually here:通常在这里:

C:\\Users\\Username\\AppData\\Local\\Android\\Sdk\\platform-tools C:\\Users\\Username\\AppData\\Local\\Android\\Sdk\\platform-tools

3. Open Enviroment Variables in Windows: 3.在Windows中打开环境变量

'Window + R' > and type 'SystemPropertiesAdvanced'> Enviroment Variables... 'Window + R'> 并输入 'SystemPropertiesAdvanced'> 环境变量...

4. Create new system variable with name 'PATH' and value of your adb.exe path like that 'C:\\Users\\Username\\AppData\\Local\\Android\\Sdk\\platform-tools' 4.创建名为“PATH”的新系统变量和 adb.exe 路径的,如“C:\\Users\\Username\\AppData\\Local\\Android\\Sdk\\platform-tools”

You can download from terminal or cmd like this:您可以像这样从终端或 cmd 下载:

$sudo apt update 
$sudo apt install android-tools-adb android-tools-fastboot

//check version or test adb is running or not
$adb version

I struggled with this for a while.我为此挣扎了一段时间。 Tried to install/uninstall various packages under the SDK Manager without success.尝试在 SDK Manager 下安装/卸载各种软件包,但均未成功。 I even deleted Android Studio and reinstall it, it did not help.我什至删除了 Android Studio 并重新安装它,它没有帮助。

I am running Android Studio 3.3 on OS X 10.14.2.我在 OS X 10.14.2 上运行 Android Studio 3.3。 At the end I tried the following:最后我尝试了以下方法:

rm -rf Library/Android/sdk

This removed the whole sdk folder.这删除了整个 sdk 文件夹。 You should run this command on your home directory in terminal.您应该在终端的主目录上运行此命令。 (it is the default location when you open it) (这是打开时的默认位置)

I then started Android Studio and it could not find the sdk.然后我启动了Android Studio,它找不到sdk。 So it prompted me to download it.所以它提示我下载它。 I downloaded a fresh SDK and everything was working normally.我下载了一个新的 SDK,一切正常。

It might be an overkill but it worked.这可能是一个矫枉过正,但它的工作。

Does anyone know what this means?有人知道这意味着什么吗? When I click the "run" button on my simulator I get this message.当我在模拟器上单击“运行”按钮时,会收到此消息。

Throwable: Unable to locate adb within SDK可抛出:无法在SDK中找到adb

I am running the latest version, 0.8.14 .我正在运行最新版本0.8.14

My Android Studio version 3.6.1我的 Android Studio 版本 3.6.1

After getting updated the latest version I have been facing this problem for few hours.更新最新版本后,我已经面临这个问题几个小时了。 My steps to solve this:我解决这个问题的步骤:

-> Updated sdk platform-tools [though it's not fetching my device yet] -> 更新了 sdk 平台工具 [虽然它还没有获取我的设备]

-> Change the USB cable, then my 2 devices both are getting connected with Studio and run my app successfully. -> 更换 USB 电缆,然后我的 2 台设备都与 Studio 连接并成功运行我的应用程序。

I don't know this silly step might help anyone but U can have a look on that.我不知道这个愚蠢的步骤可能会帮助任何人,但你可以看看。 I just share my experience, Thanks.我只是分享我的经验,谢谢。

For me I was switching to zsh as the default shell on your Mac.对我来说,我正在切换到 zsh 作为 Mac 上的默认 shell。 Switch back and restart fixed it.切换回来并重新启动修复它。

Does anyone know what this means?有人知道这意味着什么吗? When I click the "run" button on my simulator I get this message.当我在模拟器上单击“运行”按钮时,会收到此消息。

Throwable: Unable to locate adb within SDK可抛出:无法在SDK中找到adb

I am running the latest version, 0.8.14 .我正在运行最新版本0.8.14

After trying all of the above (and more), I googled how to reset Android Studio, which eventually worked for this!在尝试了以上所有(以及更多)之后,我在谷歌上搜索了如何重置 Android Studio,最终解决了这个问题!

On MAC, delete this folder:在 MAC 上,删除此文件夹:

~/Library/Application Support/Google/AndroidStudio4.1

I then checked the adb in the terminal by running adb command, and it was showing up as it should.然后我通过运行 adb 命令检查了终端中的 adb,它按应有的方式显示。

终端截图

When I ran my react-native project with yarn start and yarn android, it failed, but running it a second time worked.当我使用 yarn start 和 yarn android 运行我的 react-native 项目时,它失败了,但第二次运行它就可以了。

Search for adb.exe inside Sdk\platform-tools folder.在 Sdk\platform-tools 文件夹中搜索 adb.exe。 Go to Android emulator Settings (three dots > settings), uncheck "Use detected ADB location" and point to adb.exe path.转到Android模拟器设置(三个点>设置),取消选中“使用检测到的ADB位置”并指向adb.exe路径。

For me, just need to对我来说,只需要

  1. Disable and Enable Developer Options.禁用和启用开发人员选项。
  2. Then Enable USB Debugging.然后启用 USB 调试。 No idea why it disabled by itself.不知道为什么它会自行禁用。

It worked for me in this way它以这种方式对我有用

open your android studio First, and go to SDK manager :首先打开你的 android studio,然后去 SDK manager : 在此处输入图像描述

and Copy your Android SDK location then open PowerShell on your windows and go to that folder like :并复制您的 Android SDK 位置,然后在您的 Windows 上打开 PowerShell 并转到该文件夹​​,例如:

cd C:\Users\YOURUSERNAME\AppData\Local\Android\Sdk

then go to platform-tools folder:然后转到平台工具文件夹:

cd platform-tools

and then start ADB like this:然后像这样启动亚行:

.\adb.exe

you can also check if there is any adb.exe by ls or dir in windows command line您还可以通过lsdir在 windows 命令行中检查是否有任何 adb.exe

if there isn't any platform tools you should first install it and then paste it into that directory that I've mentioned earlier如果没有任何平台工具,您应该先安装它,然后将其粘贴到我之前提到的那个目录中

you can download platform-tool(adb) from here: https://developer.android.com/studio/releases/platform-tools您可以从这里下载平台工具(adb): https ://developer.android.com/studio/releases/platform-tools

This fixed my issue finally !!!!!这终于解决了我的问题!!!!在此处输入图像描述

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

相关问题 Angular 无法定位样式表警告 - Angular unable to locate stylesheet warning 如何修复 ubuntu 16.04 中的“Unable to locate package ng-common”错误? - How to fix the error " Unable to locate package ng-common " in ubuntu 16.04? 无法找到软件包ng-common - Unable to locate package ng-common 如何在 Angular promise 或 observable 中定位错误? - How to locate an error in an Angular promise or observable? 无法使用 ID、XPath 和 CSS 选择器定位元素 - Unable to locate element using ID, XPath and CSS Selector 无法在 protractor e2e 测试中找到 MatSnackBar 元素 - Unable to locate MatSnackBar element in protractor e2e test BRANCH SDK的原因是什么:无效的“ android-prefix” <branch-config> 您的config.xml错误? - What is the cause of BRANCH SDK: Invalid “android-prefix” in <branch-config> in your config.xml error? Visual Studio Code 无法监视此大型工作区中的文件更改”(错误 ENOSPC)#29 - Visual Studio Code is unable to watch for file changes in this large workspace" (error ENOSPC) #29 无法将Duo Web SDK与angular应用程序集成 - Unable to integrate Duo Web SDK with angular application 无法在订户内分配变量 - Unable to assign variable within a subscriber
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM