I am trying to run my android project on android studio 1.2. I have started the developer options on my phone and the USB debugging but my android device is still not detected on the running devices. I have tried the invalidate cache/restart but still doesn't work, kindly help.
In my case, enabling USB Debugging
in Developer Options
solved the problem. Make sure to grant required permissions upon reconnecting the phone.
Enabling Developer Options
Phone settings >> About Phone >> Software Information >> tap Build Number repeatedly.
Update:
Sometimes, the phone is not detected even with USB Debugging
on. In this case, tap on Revoke USB debugging authorizations
in Developer options
. Grant the required permissions on reconnecting the phone.
If it's still not being detected, then toggle USB debugging
off and on then grant permissions upon phone reconnection.
The most likely reason you're not see is one of these:
1) The cable is bad, in that case replace it. Try another cable.
2) The drivers aren't installed on your computer. Download them here: https://developer.android.com/studio/run/oem-usb.html
3) Another program (i.e. Samsung Kies) is causing problems, close it.
4) The device is port is faulty, in that case you'll need to replace it
5) The computer usb port is faulty.
6) If its intermittent, try to connect to your phone w/ adb wifi
7) If your phone is rooted you won't need to connect, use wifi adb by default. Use this app: https://play.google.com/store/apps/details?id=com.ttxapps.wifiadb&hl=en
Hope it helps
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With