【问题标题】:Error in setting up Android usb debugging in ubuntu 14.10在 ubuntu 14.10 中设置 Android USB 调试时出错
【发布时间】:2014-11-23 09:27:19
【问题描述】:

我有一部 LG 的安卓手机,我想用它来进行 USB 调试。我按照以下步骤操作:

1. Enabled usb debugging in developers option on phone.

2. After connecting to PC, phone shows as "Usb debugging connected". I verified the same by command "lsusb" on Ubuntu 14.10. It shows following result:

   Bus 002 Device 003: ID 1004:633e LG Electronics, Inc.

3. Then I followed steps given in https://developer.android.com, to setup hardware device.

   Log in as root and create this file: /etc/udev/rules.d/51-android.rules.

   Use this format to add each vendor to the file: SUBSYSTEM=="usb", ATTR{idVendor}=="1004", MODE="0666", GROUP="plugdev"

   Now execute: chmod a+r /etc/udev/rules.d/51-android.rules

4. After that I rebooted the computer.

5. Now when I try to check device list in adb by command "./adb devices" , It does not show device listed.

有人可以帮忙吗?请让我知道我做错了什么......谢谢

【问题讨论】:

  • 仔细检查您在 /etc/udev 中的编辑并确保使用 LG 设备的连接器电缆(不是一些随机的 USB 连接)
  • 使用 lsusb 找出设备的实际 vid。确保它在您的规则文件中,也在您的 ~/.android 目录中的 adb ini 文件中
  • 接近投票者:开发工具问题明确与主题相关,问题详细说明确切已尝试过的内容。

标签: android ubuntu adb udev usb-debugging


【解决方案1】:

我发现这个 guid 解决了我的问题。我在尝试连接到 Azpen A1023 时遇到了同样的问题

http://community.linuxmint.com/tutorial/view/888

【讨论】:

    猜你喜欢
    • 2015-05-15
    • 2014-12-07
    • 1970-01-01
    • 1970-01-01
    • 2018-04-19
    • 2014-12-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多