Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/209.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在ubuntu 14.10中设置Android usb调试时出错_Android_Ubuntu_Adb_Udev_Usb Debugging - Fatal编程技术网

在ubuntu 14.10中设置Android usb调试时出错

在ubuntu 14.10中设置Android usb调试时出错,android,ubuntu,adb,udev,usb-debugging,Android,Ubuntu,Adb,Udev,Usb Debugging,我有一个LG的android手机,我想用它进行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:

我有一个LG的android手机,我想用它进行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.

有人能帮忙吗?请告诉我哪里做错了。。谢谢

我发现这个guid解决了我的问题。当我试图连接Azpen A1023时,我也面临着同样的问题


在/etc/udev中仔细检查您的编辑,确保使用LG设备的连接电缆,而不是一些随机usb连接使用lsusb查找设备的实际视频。确保它在您的规则文件中,也在~/.android directoryClose投票者的adb ini文件中:开发工具问题是明确的主题,并且问题详细说明了您尝试过的内容。