在很久以前使用WiFi-ADB需要有Root权限,而现在则不需要。方法如下:
Debugging considerations
When debugging applications that use USB accessory or host features, you most likely will have USB hardware connected to your Android-powered device. This will prevent you from having an adb connection to the Android-powered device via USB. You can still access adb over a network connection. To enable adb over a network connection:
Connect the Android-powered device via USB to your computer.
From your SDK platform-tools/ directory, enter adb tcpip 5555 at the command prompt.
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.
To set your device to listen on USB, enter adb usb.
本文介绍了一种无需Root权限即可通过WiFi使用ADB的方法。首先通过USB连接设备到电脑,然后运行adb tcpip 5555命令,最后使用adb connect device-ip-address:5555完成网络连接。
7303

被折叠的 条评论
为什么被折叠?



