In Windows open task manager then end the tasks for adb.exe and then restart your pc then reopen your android studio. That worked for me
adb.exe