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
Stopping an Android App from Console
How to Center Icon and Text in a Android Button with Width Set to "Fill Parent"
How to Display Image in Android's Textview
How to Set the Divider Between Tabs in Tablayout of Design Support Library
How to Evenly Distribute Buttons Across the Width of a Linearlayout
How to Insert a SQLite Record with a Datetime Set to 'Now' in Android Application
Android: Get All Pendingintents Set with Alarmmanager
How to Debug APK Signed for Release
Android:Inapp Purchase Receipt Validation Google Play
Can't Include C++ Headers Like Vector in Android Ndk
Android Recyclerview:Notifydatasetchanged() Illegalstateexception
How to Display Progress While Loading a Url to Webview in Android
Proguard: Can't Find Referenced Class Com.Google.Android.Gms.R