“运行adb设备(ubuntu 10.10)时未列出Android设备” [英] "Android device is not listed while running adb devices (ubuntu 10.10)"

查看:188
本文介绍了“运行adb设备(ubuntu 10.10)时未列出Android设备”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行adb设备时未列出我的Android设备Ly-706。

My Android device Ly-706 is not listed while running adb devices.

我可以使用eclipse运行模拟器,并使用adb在模拟器
上安装应用程序,除了在真实设备上

I can run emulator using eclipse and install application on emulator using adb except on Real device

我添加了:

SUBSYSTEM=="usb", SYSFS{idVendor}=="040d", MODE="0666"

/etc/udev/rules.d/90-android.rules ,仍然没有运气

三星银河3的结果相同(供应商ID = 04e8)

Same result for samsung galaxy 3(vendor id ="04e8")

我安装了GNU / Linux(ubuntu 10.10),因为它未在Windows中列出。

I installed GNU/Linux (ubuntu 10.10) because it is not listing in windows.

我缺少什么?

推荐答案

我总是第一次以root身份运行adb,此后始终以普通用户身份运行。但是我运行了一个挂起的虚拟机,因此不必经常这样做。

I always run adb as root the first time, and as normal user thereafter. But I run a virtual machine that I suspend so I don't have to do it often.

您有一个正确的主意,解决方案绝对是您需要的规则目录中文件中的权限。我唯一能提出的建议是您使用了错误的供应商ID。

ou have the right idea, the solution is most definately that you need the permission in the file within rules directory. The only suggestion I can make is that you are using the wrong vendor id.

此处

此外,要确保您在root用户下运行正确的adb,请同时运行以下两项:

Also, to make sure you're running the correct adb under root, run both of:

sudo adb kill-server
adb kill-server

之前:

sudo adb start-server

我发现仅运行一个并不总是有效。

I have found just running the one doesn't always work.

这篇关于“运行adb设备(ubuntu 10.10)时未列出Android设备”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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