[英]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). 由于我的Android手机不再通过USB连接到我的PC(它才开始充电),我想知道是否可以通过wifi(我的设备未旋转)安装/调试应用(使用Android Studio或Eclipse)。 。 I have another phone (LGP690) that is configured to be a wifi hotspot.
我有另一部配置为wifi热点的电话(LGP690)。 My PC and the other smartphone (an LG P880, the one with usb connection problem) are connected to it.
我的PC和另一部智能手机(一台LG P880,存在USB连接问题)已连接到它。 Note that the LGP690 phone can be connected to my PC via usb.
请注意,LGP690手机可以通过USB连接到我的PC。
Have you tried doing any of the options below with your LG P880? 您是否尝试过使用LG P880进行以下任何选择?
My Computer
and go to Properties
then Device Manager
My Computer
,然后依次转到“ Properties
和“ Device Manager
C:/Users/(Username)/AppData/Local/Android/sdk/extras/google/usb_driver
C:/Users/(Username)/AppData/Local/Android/sdk/extras/google/usb_driver
Update Driver Software...
Update Driver Software...
Browse my computer for driver software
Browse my computer for driver software
C:/Program Files (x86)/ClockworkMod/Universal Adb Driver/usb_driver
if not then to the other path which is the one I mentioned above C:/Program Files (x86)/ClockworkMod/Universal Adb Driver/usb_driver
否则 请定向 到另一个路径,即我上面提到的路径 Connect android phone without using USB cable except XIAOMI PHONES 除了XIAOMI PHONES以外,不使用USB电缆即可连接android手机
== MAKE SURE THAT YOUR PHONE HAS USB DEBUGGING ENABLED == ==确保您的手机已启用USB调试功能==
== IP Address series should NOT be '0' like 192.168. == IP地址系列不应该是“0”像192.168。 0 .10
0 .10
1. Connect your PC (Laptop) and Android phone to same wifi network. 1.将您的PC(笔记本电脑)和Android手机连接到相同的wifi网络。
2. Goto Android SDK folder > platform-tools and Open command prompt holding Shift key from folder. 2.转到Android SDK文件夹>平台工具,然后从文件夹中按住Shift键打开命令提示符。
3. Type command "adb tcpip 5555", and hit Enter, sometimes it gives error but ignore it and go ahead. 3.键入命令“ adb tcpip 5555”,然后按Enter键,有时会出现错误,但会忽略并继续。
4. Type "adb connect [YOUR PHONE IP]". 4.键入“ adb connect [您的电话IP]”。 example: adb connect 192.168.1.34 and hit enter, Your phone will be connected to PC.
例如:adb connect 192.168.1.34并按Enter,您的电话将连接到PC。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.