我是安卓新手。我刚刚下载并安装了android sdk。现在,当我从 eclipse 运行应用程序时,我的设备没有被检测到。我已经用谷歌搜索并提出这个作为我的解决方案,但这也没有奏效。
这是 51-android.rules
SUBSYSTEMS=="usb", ATTR{idProduct}=="0bb4", ATTR{idProduct}=="0c03", MODE="0666", GROUP="plugindev", OWNER="<username>"
Run Code Online (Sandbox Code Playgroud)
之后,我重新启动了我的笔记本电脑,并运行了以下命令:
username@laptopname:~/Android/adt-bundle/sdk/platform-tools$ adb devices
Run Code Online (Sandbox Code Playgroud)
我得到的输出是:
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
???????????? no permissions
Run Code Online (Sandbox Code Playgroud)
编辑
crazydeveloper@crazydeveloper:~$ lsusb
Bus 002 Device 004: ID 0bb4:0c03 HTC (High Tech Computer Corp.)
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device …Run Code Online (Sandbox Code Playgroud)