简体   繁体   中英

How to run android project on android phones?

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

Android Studio Pic

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM