Solving "adb server version doesn't match this client" error [duplicate]
In my case the solution was this on an Ubuntu based OS:
adb kill-serversudo cp ~/Android/Sdk/platform-tools/adb /usr/bin/adbsudo chmod +x /usr/bin/adbadb start-server
One possible reason for the occurrence of this error is due to the difference in adb versions in the development machine and the connected connected device/emulator being used for debugging.
So resolution is:
- Firstly disconnect device/emulator.
Run on terminal/command prompt following commands:
adb kill-serveradb start-server
This will start the adb successfully. Now you can connect device.Hope it helps.