Here is the solution to the problem commonly faced by many of React Native developers that is “adb server version mismatch react-native run-android”.
Problem
adb server version doesn’t match this client; Killing…
The main reason for adb server version mismatch react-native run-android problem is the mismatch of your adb version. You can see the problem here
Open the terminal and run
adb version
Now jump into the SDK >> platform-tools and run
cd ~/Android/Sdk/platform-tools
adb version
You can find the difference there.
Solution
The solution to this problem is very simple. Just copy SDK/platform-tools/adb to /usr/bin using the following command.
sudo cp ~/Android/Sdk/platform-tools/adb /usr/bin
Now run your project again. Hope it will work fine.
If you are still facing the issue with this please mention the problem in the comment below. Thanks for reading. Hope you like it
This is really interesting, You’re an overly professional blogger.
I have joined your feed and look forward to seeking more of your
excellent post. Also, I’ve shared your site in my social networks
Hi,
I am still facing the same issue, and adb version at both location is same
Which RN version are you using?
Thanks. That solved the adb mismatch.
Welcome. 🙂
adb can not locate
i am facing this problem while using avd