简体   繁体   中英

How can I connect to Android phone with ADB over TCP without using a USB cable at all?

Since my android phone does not connect via usb to my pc anymore (it just start charging), i would like to know if it is possible to install/debug apps (using Android Studio or Eclipse) via wifi (my device is NOT ROOTED). I have another phone (LGP690) that is configured to be a wifi hotspot. My PC and the other smartphone (an LG P880, the one with usb connection problem) are connected to it. Note that the LGP690 phone can be connected to my PC via usb.

Have you tried doing any of the options below with your LG P880?

  • Connect your cellphone to your computer
  • Right click on your My Computer and go to Properties then Device Manager
  • Look for your device (It may be under Other Devices or under a separate branch maybe LG)
  • When you find the device, right click on it and select uninstall
  • In the meantime, you can go to this link and download Universal Windows ADB Driver (This one worked for me) or if you want to use the one you downloaded from SDK Manager, just go to: C:/Users/(Username)/AppData/Local/Android/sdk/extras/google/usb_driver
  • When you finish uninstalling the driver unplug it and plug it back in so the computer can recognize the device.
  • When the computer recognize it, go back into device manager and look for the device that has an yellow exclamation point.
  • Right click on the device with the yellow exclamation point and click Update Driver Software...
  • When the update driver window shows up, click Browse my computer for driver software
  • If you downloaded and installed the Universal ADB, the you must direct the path to C:/Program Files (x86)/ClockworkMod/Universal Adb Driver/usb_driver if not then to the other path which is the one I mentioned above
  • Wait until installation finish then restart the computer (Optional) then give it a try.

Connect android phone without using USB cable except XIAOMI PHONES
== MAKE SURE THAT YOUR PHONE HAS USB DEBUGGING ENABLED ==
== IP Address series should NOT be '0' like 192.168. 0 .10
1. Connect your PC (Laptop) and Android phone to same wifi network.
2. Goto Android SDK folder > platform-tools and Open command prompt holding Shift key from folder.
3. Type command "adb tcpip 5555", and hit Enter, sometimes it gives error but ignore it and go ahead.
4. Type "adb connect [YOUR PHONE IP]". example: adb connect 192.168.1.34 and hit enter, Your phone will be connected to PC.

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