2

Android Studio is unable to install an application throwing the following error:

adb server version (40) doesn't match this client (41); killing

I tried answers from this stackoverflow question but they didn't work for me.

Muzammil Husnain
  • 1,218
  • 1
  • 10
  • 24
  • Maybe, this helps? https://android.stackexchange.com/a/232860/340401 – Cadoiz Jan 14 '21 at 11:09
  • 1
    Does this answer your question? [ADB server version (36) doesn't match this client (39) {Not using Genymotion}](https://stackoverflow.com/questions/43050370/adb-server-version-36-doesnt-match-this-client-39-not-using-genymotion) – Cadoiz Jan 14 '21 at 11:19

2 Answers2

3

Please invalidate the cache and restart the android studio.

0

I have Android SDK and tools already installed and adb is present in $HOME/Library/Android/sdk/platform-tools/adb

In my case, just removing adb from my /usr/local/bin/adb which I got from adb version using rm /usr/local/bin/adb solved the issue.

Reference: https://thedarksource.com/how-to-solve-this-adb-server-version-doesnt-match-this-client-error-in-android/

Lokesh
  • 23
  • 4