After installing android studio, I installed ADB as well. However, for some reason ADB doesn\'t detect my device. To make a note I think I have done all the basic stuff I fo
I was already in USB debugging enabled state and also had switched USB configuration to PTP. It was still in always charging mode no matter what I do. I had even reinstalled all Android related stuff, tried on multiple devices to find a fix. Finally what worked for me was getting a new cable.
I had posted a question here (now marked as duplicate) since these answers didn't suffice my situation.