scrcpy: Not working on Mac
Environment
- OS: Mac 12.5.1
- scrcpy version: latest
- installation method: brew install
- device model: Samsung
- Android version: 12
Describe the bug Won’t launch
On errors, please provide the output of the console (and adb logcat
if relevant).
% /usr/local/Cellar/scrcpy/1.24/bin/scrcpy ; exit;
dyld[90421]: Library not loaded: '/usr/local/opt/mbedtls/lib/libmbedcrypto.12.dylib'
Referenced from: '/usr/local/Cellar/librist/0.2.7_1/lib/librist.4.dylib'
Reason: tried: '/usr/local/opt/mbedtls/lib/libmbedcrypto.12.dylib' (no such file), '/usr/local/lib/libmbedcrypto.12.dylib' (no such file), '/usr/lib/libmbedcrypto.12.dylib' (no such file)
zsh: abort /usr/local/Cellar/scrcpy/1.24/bin/scrcpy
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 11
- Comments: 22
I tried below:
then it works
Hey guys, first of all there is another issue: https://github.com/Genymobile/scrcpy/issues/2128 To fix this issue I have to: 1 remove brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
// remove2 install brew again
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
// install3 install scrpy using brew
brew install scrcpy
4 install android-platform-tools
brew install --cask android-platform-tools
(I got errors like Error: It seems there is already a Binary at and I need to remove the folder withrm /opt/homebrew/bin/xxx
)After that I was able to work with scrcpy
Thanks man! That worked!
I installed via brew. The error happens with the latest Mac OS. It now says:
It worked! Saved my day
total legend! thanks!
Very thanks!!!
I just installed on macOS 12.6 ( intel ) and it is working. Thanks for this tool!
installation
version
run