2014-11-23 61 views
1

我有一個LG的android手機,我想用它進行USB調試。我遵循以下步驟:在ubuntu下設置Android的usb調試錯誤14.10

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. 

任何人都可以請幫忙嗎?請讓我知道我在做什麼錯了..謝謝

+0

仔細檢查在/ etc/udev的你的編輯,並確保從LG設備(不是一些隨機的USB連接)使用的連接器電纜當一回事 – 2014-11-23 10:37:55

+0

使用lsusb查找設備的實際vid。確保它在你的規則文件中,並在你的〜/ .android目錄中的adb ini文件中。 – 2014-11-23 10:48:54

+0

關閉選民:開發工具問題*顯式*在主題上,而問題細節*完全*已經嘗試過。 – 2014-11-23 10:51:49

回答