1、1. 在安卓手机的设置中激活USB调试(Enable USB Debugging)
2. 通过usb电缆将手机连接到pc上(仅第一次需要连接电脑)3. 在终端程序中运行:adb tcpip 5555
2、通过wifi进行连接
5. 连接到ip地址
adb connect 192.168.65.35
如果想要通过usb连接
adb usb
6. 从手机获取log信息
adb logcat -v time *:E > log.txt
时间:2026-02-14 07:27:35
1、1. 在安卓手机的设置中激活USB调试(Enable USB Debugging)
2. 通过usb电缆将手机连接到pc上(仅第一次需要连接电脑)3. 在终端程序中运行:adb tcpip 5555
2、通过wifi进行连接
5. 连接到ip地址
adb connect 192.168.65.35
如果想要通过usb连接
adb usb
6. 从手机获取log信息
adb logcat -v time *:E > log.txt