I recently install react-native, initialize a project and run it
$ react-native init AwesomeProject
$ react-native run-android
Always get a error
adb server version (32) doesn't match this client (36); killing...
and my device shows me
How to solve both error?
This is because the adb version on your system is different from the adb version on the android sdk platform-tools. you can check that to insure:
Open the terminal and check the adb version on the system:
$adb version
And from the Android SDK platform-tool directory:
$cd ~/Android/Sdk/platform-tools
$./adb version
simple solution: Copy adb from Android SDK directory to usr/bin directory.
$sudo cp ~/Android/Sdk/platform-tools/adb /usr/bin
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