How to connect Android to PC

I am trying to connect a Samsung Galaxy to a PC, but the ddms tool does not recognize my phone. USB debugging is enabled. What could cause the problem?

PS. I am using Ubuntu 9.10 OS.

Thanks.

+6
android ddms
source share
3 answers

You must add the rule to /etc/udev/rules.d( i.e .: 51-android.rules ):

 SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666" 

just in case, make sure the identifier for your phone matches 0x04e8 using lsusb . After adding a new rule, just reload them

$ sudo udevadm control --reload-rules

+2
source share

You need to install the ADB / USB driver that matches your Android device.

0
source share

Summary:

  • [-s / etc / udev / rules.d / 51-android.rules] || sudo echo 'SUBSYSTEM == "usb", SYSFS {idVendor} == "04e8", MODE = "0666"'> /etc/udev/rules.d/51-android.rules
  • sudo udevadm control --reload-rules
  • Download the fix for the Linux ADB executable: http://floe.butterbrot.org/external/adb.gz
  • Replace android-sdk-linux_86 / tools / adb with a new one.

Thanks.

0
source share

All Articles