I previously developped Android apps on Android Studio . Everything works fine.
I work on real device, and Android Studio recognize it without issue.
Suddenl
open command prompt -> cd to your sdk\platform-tools type below command:
cd
adb kill-server && adb start-server