I am trying to use my Galaxy S8 with android studio as an external device but it seems like my Mac cannot recognize it.
Basically it seems that the phone can only be charged via usb, but I have no reason to believe that the usb port might be damaged.
I solved this problem downloading this driver from the oficial Samsung page. After install it, the whole drivers will re-install again. Besides, make sure you have enabled the Debugging mode and try to run again. I hope this helps.