ADB设备命令显示什么 [英] adb devices command shows nothing

查看:140
本文介绍了ADB设备命令显示什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我忙了Android SDK。我懂了工作,但是当我进入 $ sudo的亚行外壳。它给了须藤:亚洲开发银行:找不到命令。对于这个问题,我查了一下这个链接: ADB设备命令不工作但是,如果我输入$现在须藤ADB设备。注意到发生的情况。

At the moment I'm busy with the Android SDK. I got it working, but when I entered $sudo adb shell. It gave sudo: adb: command not found. For this problem I checked this link: adb devices command not working But if I enter $sudo adb devices now. Noting happens.

甚至没有*守护进程没有运行。从现在开始它的运算端口5037 *和休息。但它看起来是这样的:

Not even *daemon not running. starting it now op port 5037 * and the rest. But it looks like this:

    michiel@ubuntu: ~$ sudo adb devices
    michiel@ubuntu: ~$

这样我就可以进入下一个命令。有人知道如何解决这个问题?这是相同的$ sudo的亚行外壳。没有任何事情来了。

So I can enter the next command. Someone knows how to fix that? It's the same with $sudo adb shell. Nothings comes up.

当我不输入sudo的ADB设备。我得到的错误:

When I enter adb devices without the sudo. I get the error:

-bash: /usr/local/sbin/adb: No such file or directory. 

但它的存在!

echo $PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/michiel/jdk1.6.0_29/bin:home/michiel/android-sdk-linux/tools:/home/michiel/android-sdk-linux/platform-tools

修改

当我启动Eclipse现在,我得到了一个错误:无法获得亚行版本:不能运行程序/家/米歇尔/ Android的SDK-Linux的/平台工具/亚行: java.io.IOException异常:错误= 2,没有这样的文件或目录

上周末,我安装了一个干净的Ubuntu的安装。我下载了 ia32.lib和OpenJDK的而不是JAVA JDK安装手动的。有些挣扎后,我设法连接的设备,现在我可以看到它。 THX的帮助:)

Last weekend I installed a clean install of Ubuntu. I downloaded the ia32.lib and openjdk instead of java jdk and install is manually. After some struggling I managed to connect the device and now I can see it. Thx for the help :)

推荐答案

我也是前两天有这个问题,我找啊找,所以我发现我的Ubuntu是64位和亚洲开发银行不匹配的Ubuntu 64位所以我在终端使用下面的命令:

I also had this problem two days ago and I searched and searched so I found that my ubuntu is 64-bit and adb is not match to ubuntu 64-bit so I used the below command in terminal:

sudo apt-get update
sudo apt-get install ia32-libs

和我的问题得到解决 不要忘了,你应该导出你的Java版本的SDK。

and my problem was solved don't forget, you should export your java-version-sdk.

这篇关于ADB设备命令显示什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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