关于用adb通过wifi连接安卓设备的官网英文说明
来源:互联网 发布:如何在淘宝商城开店 编辑:程序博客网 时间:2024/05/16 05:01
由于安卓开发者官网被墙,这里截取部分英文原文,以飨读者。
Stopping the adb Server
In some cases, you might need to terminate the adb server process and then restart it to resolve the problem (e.g., if adb does not respond to a command).
To stop the adb server, use the kill-server
command. You can then restart the server by issuing any other adb command.
Wireless usage
adb is usually used over USB. However, it is also possible to use over Wi-Fi, as described here.
Connect your Android device and adb host computer to a common Wi-Fi network accessible to both. We have found that not all access points are suitable; you may need to use an access point whose firewall is configured properly to support adb.
Note: If you are attempting to connect to a Wear device, force it to connect to Wi-Fi by shutting off Bluetooth on the phone connected to it.
- Connect the device to the host computer with a USB cable.
- Set the target device to listen for a TCP/IP connection on port 5555.
$ adb tcpip 5555
- Disconnect the USB cable from the target device.
- Find the IP address of the Android device. For example, on a Nexus device, you can find the IP address at Settings > About tablet (or About phone) > Status > IP address. Or, on an Android Wear device, you can find the IP address at Settings > Wi-Fi Settings > Advanced > IP address.
- Connect to the device, identifying it by IP address.
$ adb connect <device-ip-address>
- Confirm that your host computer is connected to the target device:
$ adb devicesList of devices attached<device-ip-address>:5555 device
You're now good to go!
If the adb connection is ever lost:
- Make sure that your host is still connected to the same Wi-Fi network your Android device is.
- Reconnect by executing the "adb connect" step again.
- Or if that doesn't work, reset your adb host:
adb kill-server
and then start over from the beginning.
- 关于用adb通过wifi连接安卓设备的官网英文说明
- 通过WIFI连接安卓设备调试
- 关于ddms上连接安卓设备,adb的调试
- adb通过wifi连接android设备的方法
- Android设备通过wifi连接adb调试
- adb通过wifi连接android设备
- adb通过wifi连接android设备
- ADB通过WIFI连接Android设备
- adb通过wifi连接android设备
- adb通过wifi连接
- adb 用 wifi 连接 android 设备
- adb通过wifi连接pc端与android设备
- adb通过wifi连接android设备(魅族note3)
- PC通过WIFI连接Android设备,使用ADB
- root权限对SYSTEM目录拷贝文件,adb通过wifi连接android设备的方法
- 安卓设备连接网络adb调试
- adb wifi连接android设备
- adb 使用 wifi 连接设备
- tomcat enable ssl
- uva 12304 几何模板题
- sys模块
- c++上机实验
- C++第一次作业-选择
- 关于用adb通过wifi连接安卓设备的官网英文说明
- 校园网&openwrt记(五)构造udp包,Lua的int32运算和bit运算
- 设计模式(十)享元模式Flyweight(结构型)
- 约瑟夫环与POJ约瑟夫环题目解析
- forin
- qt 进度条
- 数据结构——堆栈
- Android多分辨率适配实践【1】使用字体图标(内含两枚神器)
- ZOJ-3601-Unrequited Love【9th浙江省赛】【模拟】【STL】