Just to be clear, the device isn't locked or anything and it works perfectly for my friend who has the same android studio version. The problem isn't with detecting the usb device (by the computer), I can access the device's content just perfectly so it connects correctly to my computer but not to android studio. When I try to run an application, the usb device doesn't show amongst the options. Can someone please help me with this issue, knowing that my android studio is updated.
UPDATE: the devices I used are: Samsung J2 and J3