Reputation: 51
I have the google usb driver installed and updated, no other driver missing in the sdk, same in the computer but my phonedoesn't appear in the list when I try to run my code. The usb debugging is activated.
Upvotes: 1
Views: 10109
Reputation: 348
If in your device USB debugging is enabled already, try this:
adb connect 192.168.0.x
(where x - individual for your device, that your device got from DHCP)
Confirm that you agree with USB debugging on this device and check the box that you always allow this computer to use USB debugging.
Repeat (3) adb connect 192.168.0.x
Profit.
I always connect my TV devices using this way without installing any drivers.
Upvotes: 0
Reputation: 21
"Toggle the phone On for [Charge this device] and See if Android Studio recognizes your phone or not."
Totally works, i made an account just to say it xdd
Upvotes: 2
Reputation: 397
Turn on USB debugging
toggle in Developers options of your android device:
Now, in most cases, that's All you need to do.
But in some cases, Windows Or MAC cannot even recognize the phone is plugged-in.
In such case, You need Download Your Phones USB Driver.
Install it, And you should be good to go.
---> FOR TESTING IF YOUR DEVICE IS SYNCED WITH THE PC OR NOT:
Open a Command prompt, from [Platform-tools] Directory where Android is installed.
Then type in adb devices
and hit Enter
It'll give you the Device ID, which means your phone is connected.
If The Message was saying "No Device Found", Means that your phone is connected but USB debugging is OFF, or Your phone still isn't connected properly.
Now, IF You have all of this ready, and you Still Cannot find your Device connected in Android Studio. Try THis:
---> When you plug your phone, There are several ways you can interact with the device Right?
One is Charging [Charge this device] - One is [Transfer files] - One is [Use device as MIDI] - etc
Toggle the phone On for [Charge this device] and See if Android Studio recognizes your phone or not.
if not, the problem is either Bad Cable or Bad USB ports.
Hope this answer is useful
Upvotes: 5