I am working on an app written in kotlin right now it is very basic app, I want to run that app on my phone, I have enable USB debugging but still on android studio project I am unable to see my phone name? Any help. Thanks
CodePudding user response:
Not seeing your device in the "Choose Device" window? Try the following:
- Unplug your device from the USB port on the computer
- Restart the device by powering off and back on *Verify that Settings => Developer options => USB Debugging √ is enabled
- Quit and re-launch Android Studio
- Force restart ADB from the "Android Device Monitor"
- Plug your device back into the USB port on the computer
*** Unlock the device and press "OK" on any dialog displayed ***
You will receive an allow dialogue before accessing your phone.
CodePudding user response:
Just adding to the answer by another user. You should also check you have the USB driver installed. Install the Google USB driver in Android Studio First. Then try installing the application. Follow this tuturial Get the Google USB Driver to learn how to do just that