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

本文是小编为大家收集整理的关于"运行adb设备时未列出安卓设备(ubantu 10.10)"的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。

问题描述

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

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

我添加:

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

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

Samsung Galaxy 3的结果(供应商ID ="04E8")

我安装了gnu/linux(Ubuntu 10.10),因为它不是在Windows中列出.

我错过了什么?

推荐答案

我始终首次运行adb作为root,并且随后作为普通用户.但我运行了一个我暂停的虚拟机,所以我不必经常这样做.

ou具有正确的想法,最肯定是您需要在规则目录中的文件中的权限.我可以制作的唯一建议是您使用的是错误的供应商ID.

查找这里

也,为了确保您在root下运行正确的adb,运行:

sudo adb kill-server
adb kill-server

之前:

sudo adb start-server

我发现刚刚运行一个并不总是有效.

本文地址:https://www.itbaoku.cn/post/102727.html

问题描述

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

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

I added :

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

in /etc/udev/rules.d/90-android.rules ,still no luck

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

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

What am i missing ?

推荐答案

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.

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.

Look it up here

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

sudo adb kill-server
adb kill-server

before:

sudo adb start-server

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