IT 일반
Android Screen Mirroring - SCRCPY
Red&Blue_
2021. 8. 4. 14:45
Git : https://github.com/Genymobile/scrcpy
GitHub - Genymobile/scrcpy: Display and control your Android device
Display and control your Android device. Contribute to Genymobile/scrcpy development by creating an account on GitHub.
github.com
1. Mac에서 설치 시 Xcode가 미리 설치되어있어야 한다.
xcode-select --install |
2. Mac에서 설치 시 brew가 미리 설치되어있어야 한다.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" |
3. scrcpy 설치
brew install scrcpy |
4. 실행
% adb devices 192.168.22.20:5555 device 192.168.22.30:5555 device 192.168.22.37:5555 device |
% scrcpy -s 192.168.22.37 2021-08-04 14:44:16.224 scrcpy[15489:911208] INFO: scrcpy 1.17 <https://github.com/Genymobile/scrcpy> adb: error: failed to get feature set: device '192.168.22.37' not found 2021-08-04 14:44:16.230 scrcpy[15489:911208] ERROR: "adb push" returned with value 1 scrcpy(15489,0x11e4a0e00) malloc: *** error for object 0x7fb3aa6070e0: pointer being freed was not allocated scrcpy(15489,0x11e4a0e00) malloc: *** set a breakpoint in malloc_error_break to debug zsh: abort scrcpy -s 192.168.22.37 rei@reid-1pc bin % scrcpy -s 192.168.22.30 2021-08-04 14:44:18.187 scrcpy[15491:911400] INFO: scrcpy 1.17 <https://github.com/Genymobile/scrcpy> /usr/local/Cellar/scrcpy/1.17_1/share/scrcpy/s...d, 0 skipped. 0.6 MB/s (34930 bytes in 0.057s) adb: error: more than one device/emulator 2021-08-04 14:44:18.291 scrcpy[15491:911400] ERROR: "adb reverse" returned with value 1 2021-08-04 14:44:18.291 scrcpy[15491:911400] WARN: 'adb reverse' failed, fallback to 'adb forward' 27183 [server] INFO: Device: samsung SM-N920S (Android 7.0) 2021-08-04 14:44:19.168 scrcpy[15491:911400] INFO: Renderer: metal 2021-08-04 14:44:19.172 scrcpy[15491:911400] INFO: Initial texture: 1080x1920 |