ADB命令不能在Linux环境中发现 [英] adb command not found in linux environment

查看:143
本文介绍了ADB命令不能在Linux环境中发现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在实施内部G1设备BluetoothChat应用.apk文件,它总是弹出一个消息:

While implementing the BluetoothChat application .apk inside G1 device, it always pops up a message:

$adb install -r /home/parveen/workspace/BluetoothChat/bin/BluetoothChat.apk 
-bash: adb: command not found

我没有得到清楚为什么这个错误是每次弹出。 请帮我。

I am not getting clearly why this error is popping up every time. Please help me.

在此先感谢。 Praween

Thanks in advance. Praween

推荐答案

我找到了解决我的问题。在我的〜/ .bashrc:

I found the solution to my problem. In my ~/.bashrc:

导出PATH = $ PATH {}:/路径/到/ Android的SDK /工具

不过,亚行不位于工具/,而在平台的工具/。 所以我增加了以下

However adb is not located in the tools/, rather in platform-tools/. So I added the following

导出PATH = $ PATH {}:/路径/到/ Android的SDK /工具:/路径/要/安卓/平台工具

这解决了我的问题。

这篇关于ADB命令不能在Linux环境中发现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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