为什么亚洲开发银行Ubuntu的不承认我的设备? [英] Why ADB Ubuntu does not recognize my device?
问题描述
我买了摩托罗拉的G,我尝试从发达国家ADT Ubuntu的安装我的程序,问题是,我得到的消息时,我ejercutar应用
从终端,会显示以下
热隆河@热隆河 - 联想的IdeaPad-Z400:〜$ sudo的ADB设备
设备名单附后
????????????没有权限
最实用的方法来解决这个问题,可运行亚洲开发银行
工具具有root访问权限。你得到的是没有权限的错误,因为你需要超级用户权限与连接的设备进行交互。
要改善的答案,并减轻<打击>多余击>安全问题,你也可以通过添加一个udev规则为您的设备上运行亚洲开发银行
无根。这里 说明。
首先,查询的lsusb
:
$的lsusb
公交002设备103:ID 04e8:6860三星电子有限公司GT-I9100手机[GALAXY S II]
然后创建一个新的规则文件和规则添加到它( /lib/udev/rules.d/10-adb.rules
):
#ADB
SUBSYSTEM ==USB,ATTR {idVendor} ==04e8,ATTR {idProduct} ==6860,MODE =0600,用户=用户名
然后重新启动udev的,或重新启动计算机(推荐)。
I bought a Motorola G, and I try to install my programs from DEVELOPED ADT Ubuntu, the problem is that I get the message when I ejercutar application
From terminal, the following is displayed
zhelon@zhelon-Lenovo-IdeaPad-Z400:~$ sudo adb devices
List of devices attached
???????????? no permissions
The most pragmatic way to fix this would be to run adb
tools with root access. You are getting a no permissions error, because you need super user privileges to interact with attached devices.
To improve the answer, and alleviate superfluous security concerns, you can also run adb
without root by adding a udev rule for your device. Instructions here.
First, query lsusb
:
$ lsusb
Bus 002 Device 103: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II]
Then create a new rules file and add the rule to it (/lib/udev/rules.d/10-adb.rules
):
# ADB
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", MODE="0600", OWNER="username"
Then restart udev, or reboot your computer (recommended).
这篇关于为什么亚洲开发银行Ubuntu的不承认我的设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!