Use these two commands:
$ adb kill-server $ adb start-server
Also go to your mobile "Developer Options" and then close and open the "USB Debugging" option.