scrcpy mac与极空间冲突
问题:
➜ ~ scrcpy
scrcpy 2.7 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO: --> (usb) 8AJY0LU0Q device Pixel_3_XL
stat: No such file or directory
ERROR: '/Applications/极空间.app/Contents/Resources/app.asar.unpacked/bin/platform-tools/scrcpy-server' does not exist or is not a regular file
ERROR: Server connection failed
解决:
➜ ~ echo $SCRCPY_SERVER_PATH
/Applications/极空间.app/Contents/Resources/app.asar.unpacked/bin/platform-tools/scrcpy-server
➜ ~ echo $PATH
*****;/Applications/极空间.app/Contents/Resources/app.asar.unpacked/bin/platform-tools:/Applications/极空间.app/Contents/Resources/app.asar.unpacked/bin/platform-tools/scrcpy-server
➜ ~ vi ~/.zshrc
//重新设置 platform-tools 和 scrcpy-server 的路径,重启终端软件(必须)。
标签:scrcpy,app,platform,connection,报错,file,tools,Resources
From: https://www.cnblogs.com/rab3it/p/18500946