Programming on my Android device in Intellij was working fine for a while, then all of a sudden my Android device started not being recognized-- "USB Not Recognized". I have tried re-installing my drivers, restarting my phone, restarting my computer, and setting up a new project but nothing seems to work. My phone is still recognized about half the time, but I randomly get the USB Not Recognized error.
Make sure your Android device is enabled for USB debugging. On many Android devices, you can verify whether USB debugging is enabled by visiting the Settings|Developer Options page. Install the USB driver for your Android device.
Try following methods. Go to Settings> Storage> More (three dots menu)> USB computer connection, choose Media device (MTP). For Android 6.0, go to Settings> About phone (> Software info), tap “Build number” 7-10 times. Back to Settings> Developer options, check “Select USB Configuration”, choose MTP.
The USB device may become unresponsive because of a race condition in the Selective Suspend feature. The Selective Suspend feature suspends the USB device to efficiently maintain battery power by enabling the computer to turn off the USB device. However, sometimes this feature may not correctly wake up the USB device.
Same. I get this error very often. This is how I usually fix it:
Use another cable.
Turn Android debugging off and on again.
Reboot the phone.
Use another USB-port.
Use another USB-port with another cable.
Dunno why. Any pro's who can answer this? :)
I just solved my issue with a really weird fix. It turns out that with a lot of wear, the tongue (which is the little prong that is in the middle of where the USB cord goes on the phone) that the connector goes around can get bent. I figured this out because pushing the front end of my connector down on the tongue made the connection work and pushing the connector up made the connection stop. I read somewhere that if you take a knife or a toothpick and push the tongue up gently, the tongue will bend slightly and return to a position where it can form a proper connection, and oddly enough I tried it and it worked. Weird. Hopefully this helps someone. Just don't push too hard up on the tongue and only do this if you're sure you don't have a driver issue.
This works on ubuntu: sudo adb start-server
Settings -> Storage. Click settings dots ‘USB Computer connection’.
Check the ‘Media Device’ (MTP) check box. If already checked, try checking/unchecking it.
This worked for me
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With