qtscrcpy 安卓调试投屏 usb 网络投屏
有的时候安卓调试,没有测试机,只有核心板,那么就有了投屏诉求,不然没办法看到显示效果。介绍一款软件
!(data/attachment/forum/202209/07/175937ex7vj8779nzxcxnk.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")
`https://gitee.com/Barryda/QtScrcpy?utm_source=alading&utm_campaign=repo`
### USB使用
usb连接后,运行就可以识别到设备
如果没有就 `终止``清理` `执行` 多点几下
!(data/attachment/forum/202209/07/180029cazirnwld4mwwnmd.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")
双击进行连接
!(data/attachment/forum/202209/07/180133nr5e2c3rl3hhrq9z.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")
!(data/attachment/forum/202209/07/180125xj16lealvqzjbaxu.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")
### 网络
首先通过adb查看ip信息,可以直接通过Android Studio的Terminal
注意:
**记得连接到网络**!(data/attachment/forum/202209/07/180413yffq05za3qlzxj5q.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")
命令:
`adb shell`
`ifconfig`
找到IP
```html
wlan0 Link encap:EthernetHWaddr a6:92:4e:ae:4b:7aDriver icnss
inet addr:192.168.1.124Bcast:192.168.1.255Mask:255.255.255.0
inet6 addr: fe80::dcea:2439:bfd5:c03a/64 Scope: Link
UP BROADCAST RUNNING MULTICASTMTU:1500Metric: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
```
#### 端口配置
!(data/attachment/forum/202209/07/180809y8ccfzwggb0cgfm6.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")
输入IP 和端口号,点击`无线连接`就会在设备列表中展示,然后双击连接即可
!(data/attachment/forum/202209/07/180844jbqnqtnqooqo9ei3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")
!(data/attachment/forum/202206/16/141330jha7st9soow8772i.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "common_log.png")
`转载务必注明出处:程序员潇然,疯狂的字节X,https://crazybytex.com/thread-188-1-1.html `
页:
[1]