Reputation: 1258
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.
Upvotes: 2
Views: 1662
Reputation: 9
What I did to solve this issue is that,
1 - download the latest version of platform-tools from here platform-tools,
2 - in your computer go to
C:\Users"YOURCOMPUTERNAME"\AppData\Local\Android\Sdk
3 - change your old platform-tools file to platform-tools77 just to back it up
4 - Put the new platform-tools you downloaded from step 1.
That all ! if it not works download another version (older) from same link and try again till you find the one match your software.
Upvotes: 0
Reputation: 23
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.
Upvotes: 0