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

查看:124
本文介绍了找不到 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 变量中.

Make sure adb is in your user's $PATH variable.

可以尝试用whereis定位,用./adb

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

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