问题
Up until recently I had no problems debugging with my Nexus 5 connected via USB cable to my PC (Windows 10).
Suddenly I cant see my device in the "Connected Devices" list. can anyone help?
Can't see nexus 5
Driver is OK
And I can edit my files through the explorer. Help?
回答1:
try to use original nexus cable when connect from device to computer , i have this case and solve it when use this cable
回答2:
Today I noticed the same behavior on my LG Nexus 5 with Android M. I also remember two icons that are in status bar when you were connected through USB. One for charging and one for debugging. None of these is showing anymore. My only guess is that some hardware is damaged. Probably the USB connection port. Yesterday I remember that my cable was causing unstable connection and the 2 icons I mentioned were appearing/disappearing repeatedly in one second(flickering). It looks like it was bad connected due to broken cable until finally it burned some internals.
I've seen other people complaining for the same reason. Nobody has discovered or posted any reasonable answer yet.
After years of programming apps and using n5 for debugging, this is for sure not driver (I'm on Mac OS X), adb, or other typical problem.
The only thing is left to try is restoring to factory.
UPDATE:
Before posting this answer I tried everything, changed a lot of cables, even tried booting into safe mode. And just after posting this answer here, I tried one more time to reconnect all cables from my MacBook and the charging icon appeared again!
My new guess is: there might be some bug probably related to battery. When started noticing the problem first my phone battery was about 11%. Now that it works again it's on 50%+.
And I say it's a bug because I know for sure that I ran a lot of apps from Android Studio with phone being below 50%.
来源:https://stackoverflow.com/questions/38805305/nexus-5-not-showing-on-connected-devices