1.Connect the Android-powered device via USB to your computer.
通过数据线把Android连到PC上。
2.From your SDK platform-tools/ directory, enter adb tcpip 5555 at the command prompt.
在命令行输入:adb tcpip 5555。
现在把数据线拔掉就可以了。
3.Enter adb connect <device-ip-address>:5555 You should now be connected to the Android-powered device and can issue the usual adb commands like adb logcat
在命令行输入:.adb connect <android设备的ip地址>:5555,现在就应该是用无线来连接android设备了。就跟用数据线连接是一样一样的!
4.To set your device to listen on USB, enter adb usb
在命令行输入:adb usb,就可以让你的android来监听usb。
转载请注明原文地址: https://ju.6miu.com/read-3182.html