Adb Server Version (36) Doesn't Match This Client (39); Killing

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 (40) doesn't match this client (41)

Please invalidate the cache and restart the android studio.

adb server version (39) doesn't match this client (40); killing... ADB server didn't ACK

Finally I resolved my issue

I had given to local.properties file added in android folder
gave sdk.dir = xxxxxxxxxxxxx

and
just open our ~/.bash_profile

added these commands :

export PATH=~/Library/Android/sdk/tools:$PATH
export PATH=~/Library/Android/sdk/platform-tools:$PATH

save the bash profile
give the coomand to run-react-native android

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



Leave a reply



Submit