一、问题:打开scrcpy闪退
cmd中运行exe报错:
C:\Users>C:\scrcpy-win64-v2.4\scrcpy.exe
scrcpy 2.4 <https://github.com/Genymobile/scrcpy>
ERROR: CreateProcessW() error 5
ERROR: Failed to execute: [D:\tool\adb], [start-server]
ERROR: Could not execute "adb start-server"
ERROR: Could not start adb server
ERROR: Server connection failed
```bash
二、解决方法:修改环境变量
搜索栏搜索》环境变量》用户变量》
查找adb的环境变量,路径修改为带exe
如:
C:\scrcpy-win64-v2.4\adb.exe