有的时候安卓调试,没有测试机,只有核心板,那么就有了投屏诉求,不然没办法看到显示效果。
介绍一款软件

https://gitee.com/Barryda/QtScrcpy?utm_source=alading&utm_campaign=repo
USB使用
usb连接后,运行就可以识别到设备
如果没有就 终止 清理 执行 多点几下

双击进行连接


网络
首先通过adb查看ip信息,可以直接通过Android Studio的Terminal
注意:
记得连接到网络
命令:
adb shell
ifconfig
找到IP
wlan0 Link encap:Ethernet HWaddr a6:92:4e:ae:4b:7a Driver icnss
inet addr:192.168.1.124 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::dcea:2439:bfd5:c03a/64 Scope: Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:48 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3000
RX bytes:5251 TX bytes:2948
端口配置

输入IP 和端口号,点击无线连接 就会在设备列表中展示,然后双击连接即可

转载务必注明出处:程序员潇然,疯狂的字节X,https://crazybytex.com/thread-188-1-1.html
|