# adb server version (41) doesn't match this client (39); killing...

**Code:** `adb server version doesn't match` · **Category:** Android · **Seen on:** Android

Two different adb binaries are running — e.g. Android Studio’s SDK adb and another one on PATH (Homebrew, Genymotion, older SDK).

## Meaning

Each client restarts the server with its own version, so devices disconnect repeatedly. Use one adb everywhere.

## Common causes

- Multiple adb installations on PATH
- Tools bundling their own adb (Genymotion, Vysor, scrcpy)
- Old platform-tools

## Quick fix

1. Find all adb binaries: which -a adb
2. Point PATH and tools to the SDK’s platform-tools/adb
3. Update platform-tools

## Detailed fix by platform

### Shell

1. 

```kotlin
which -a adb
export PATH="$HOME/Library/Android/sdk/platform-tools:$PATH"
adb version
```


## How to diagnose

1. **Binaries** — which -a adb
2. **Tools** — Which app ships its own adb?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/android/adb-server-version-mismatch)
