adb server version (40) doesn't match this client (41)
Please invalidate the cache and restart the android studio.
ADB server version (36) doesn't match this client (39); killing
In my case this error occured when I set up my environment adb path as ~/.android-sdk/platform-tools
(which happens when e.g. android-platform-tools is installed via homebrew), which version was 36, but Android Studio project has Android SDK next path ~/Library/Android/sdk
which adb version was 39.
I have changed my PATH to platform-tools to ~/Library/Android/sdk/platform-tools
and error was solved
adb server version doesn't match this client
I uninstalled Dell PC Suite and HTC Sync from my computer and this problem went away.
EDIT: To elaborate a bit on the cause of this problem: HTC sync comes with an ADB server of its own. And it updates your PATH environment variable to point to its version of the server. Edit the PATH variable and remove the reference to the HTC Sync directories. Now you're using Google's ADB again.
adb server version (41) doesn't match this client (39)
You can be used to uninstall an app via your PC. It will solve your issue.
1. First step: select File-> Invalidate caches / Restart
2. Second step: open a command terminal and run the below command changing the package name.
3. Final step: Now run your app
replace: < com.xyz.name > with your < package name >
adb uninstall "com.xyz.name"
Related Topics
How Can Make My Viewpager Load Only One Page at a Time Ie Setoffscreenpagelimit(0);
Androidstudio Cannot Find Layout
How to Manipulate the Camera Preview
Android - Get Text Out of Webview
How to Keep My Android Service Running When the Screen Is Turned Off
Date Formatting Based on User Locale on Android
How to Programmatically Enable and Disable Flight Mode on Android 4.2
A Way to Get Unlock Event in Android
Loading Youtube Video Through Iframe in Android Webview
How to Disable Gridview Scrolling in Android
How to Send Multiple Sms to Single Number
Force Update of an Android App When a New Version Is Available
Android: Mediaplayer Setvolume Function
Android Adb Devices Unauthorized