android - Nexus 7 tablet not recognized by adb -
i having strange behavior android sdk , tablet. attempting tablet recognized with:
adb devices -l command.
each time plug tablet in, window on computer pops brief moment asking me recognizing tablet camera , asking me application want open with. disappears before click anything. on tablet, "allow usb debugging such , such computer?". times disappear before can click it. other times click it, adb devices -l still not recognize it. check dmesg:
[ 3398.180553] usb 1-1: new high-speed usb device number 45 using ehci_hcd [ 3398.321392] usb 1-1: new usb device found, idvendor=18d1, idproduct=4e44 [ 3398.321404] usb 1-1: new usb device strings: mfr=2, product=3, serialnumber=4 [ 3398.321411] usb 1-1: product: nexus 7 [ 3398.321416] usb 1-1: manufacturer: asus [ 3404.230444] usb 1-1: usb disconnect, device number 45 i using linux mint 14. i've not had problem until recently.
here list of steps i've taken troubleshoot problem:
- reboot computer choosing different kernel versions
- restarting adb adb kill-server , adb start-server
- plugging tablets cable 4 other usb ports
- rebooting tablet
- double checking usb debugging still enabled (yes, is)
- lsusb (should show google inc., not)
- i have latest sdk , date
- googling, found basic troubleshooting steps had taken
- more steps
i unsure else do. loss in time of productivity costing me. finished first app company , need complete it, can sell them product.
you can try these steps:
- stop server with: adb kill-server.
- go ~/.android/ , if doesn't exist create file: adb_usb.ini
- add line value: 0x18d1 (the vendorid of device).
- save , close file.
try again. me worked (i'm using 100 euros tablet...) if still have problems can create udev rule in /etc/udev/rules.d/51-android.rules, following:
subsystem =="usb", attr{idvendor}=="18d1", mode ="0666", group ="plugdev" and make sure user in plugdev group. hope help.
Comments
Post a Comment