I'm using Ubuntu 20.10 and I have installed scrcpy to mirror my phone screen while creating flutter applications, but when I just open Vs code, scrcpy closes with this error :: adb server version (41) doesn't match this client (39); killing...
this error is Conflicts between adb versions https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#conflicts-between-adb-versions
Solution is set ADB env is path to Android Sdk platform-tools adb
/home//Android/Sdk/platform-tools/adb
in Linux, you can
export ADB=/path/to/your/adb
in Win,
set ADB=/path/to/your/adb
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With