After all the solutions were resolved and still have not found a solution, I brought the problem to the USB cable (s).
Since it worked sometimes for me (i.e. at work), and not at other times (for example, at home), I decided to try the different cables and different Android phones that I had. And, of course, some of the cables do not work (adb cannot see the phone) with any of the phones, but they still charged the phone, and Android recognized that it was connected.
Good cables obviously charged the phones and were immediately recognized by adb. That was a pretty clear difference.
I could not tell the cables physically from the outside, but all were free USB cables that I have been building over the years.
Edward T Nov 16 '17 at 1:18 2017-11-16 01:18
source share