找不到adb命令 [英] adb command not found

查看:430
本文介绍了找不到adb命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要运行adb forward命令,然后才能使用 ezkeyboard 应用程序,该应用程序允许用户使用浏览器在电话上键入内容.

I need to run an adb forward command before I could use the ezkeyboard application which allows user to type on the phone using browser.

当我运行adb forward tcp:8080 tcp:8080命令时,我收到adb command not found错误消息.

When I run adb forward tcp:8080 tcp:8080 command I get the adb command not found error message.

我可以从终端运行android命令.为什么adb无法正常工作?

I can run android command from terminal. Why adb is not working?

推荐答案

确保adb在用户的 $ PATH 变量中.

您可以尝试使用whereis找到它并使用./adb

You can try to locate it with whereis and run it with ./adb

这篇关于找不到adb命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆