Search code examples
androidddms

How to connect Android to PC


I'm trying to connect my Samsung Galaxy to PC but ddms tool does not recognize my phone. USB debugging is enabled. What can cause a problem?

PS. I'm using Ubuntu 9.10 OS.

Thanks.


Solution

  • You should add a rule to /etc/udev/rules.d (i.e.: 51-android.rules):

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

    just in case verify that the id for your phone matches 0x04e8 using lsusb. Once the new rule is added just reload them by

    $ sudo udevadm control --reload-rules