Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I am still a newbie to linux AND android development but I finally got my device recognized. The key (I THINK) was to change SUBSYSTEM to SUBSYSTEMS and ATTR to ATTRS. According to the <a href="http://linux.die.net/man/7/udev" rel="nofollow">udev(7) page</a>, this "searches the devpath upwards for a matching device..." So, this is what I ended up doing for an HTC Incredible 2:</p> <pre><code>gksudo gedit /etc/udev/rules.d/51-android.rules </code></pre> <p>Then I added this single line to the file</p> <pre><code>SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", MODE="0666", GROUP="plugdev" </code></pre> <p>Then I restarted udev and adb (not sure if all of these are necessary). I also may have unplugged / plugged in my usb android connection (can't remember):</p> <pre><code>sudo restart udev adb kill-server adb restart-server adb devices </code></pre> <p>After this, the ???????? went away from the adb devices results and instead I got something like HT14PMA... device</p> <p>Like I said above, I'm a newbie and I'm not sure how much of what I did was necessary. I think the key may have been adding the "S" to SUBSYSTEMS to search multiple paths. It's also possible I was doing other things wrong. Here's the most helpful pages I found</p> <p>For hint on how to restart udev: <a href="http://dimitar.me/how-to-connect-your-android-phone-to-ubuntu-to-do-developmenttestinginstallations-or-tethering/" rel="nofollow">http://dimitar.me/how-to-connect-your-android-phone-to-ubuntu-to-do-developmenttestinginstallations-or-tethering/</a></p> <p>Android developers guide (got me close): <a href="http://developer.android.com/guide/developing/device.html" rel="nofollow">http://developer.android.com/guide/developing/device.html</a></p> <p>udev(7) Linux man page: <a href="http://linux.die.net/man/7/udev" rel="nofollow">http://linux.die.net/man/7/udev</a></p> <p>EDIT: After getting the device recognized, I started eclipse (indigo) and successfully ran a "hello world" app on the connected phone. However subsequent to that I started getting problems connecting w/ eclipse (telling me it couldn't find adb connection). So maybe my above advice is not sufficient and / or I have other problems. The adb connection problem in eclipse is intermittent, so clearly something is still not quite right.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload