adb server version doesn't match Android Origin: On your device OSI layer 7 · Application Last updated 12 Oct 2026

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

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

Exact message you may see adb server version doesn't match this clientadb server is out of date
Seen on: Android

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?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: On your device. Errors that are often confused with or caused by this one (click to open):

ActivityNotFoundException — ActivityNotFoundException: Unable to find explicit activity class; have you declared this activity in your AndroidManifest.xml? (Android)ActivityNotFoundExcep…adb unauthorized — adb: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set (Android)adb unauthorizedAndroid license status unknown / licenses not accepted — flutter doctor: Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses (Flutter / Dart)Android license statu…author identity unknown — Author identity unknown *** Please tell me who you are. (Git)author identity unkno…aws: error: argument — aws: error: argument command: Invalid choice / Unknown options (AWS)aws: error: argumentcmdline-tools component is missing — flutter doctor: Android SDK is missing command-line tools; download from https://goo.gl/XxQghQ — cmdline-tools component is missing (Flutter / Dart)cmdline-tools compone…Default FirebaseApp is not initialized — IllegalStateException: Default FirebaseApp is not initialized in this process (Android)Default FirebaseApp i…docker-compose: command not found — docker-compose: command not found / 'compose' is not a docker command (Docker)docker-compose: comma…adb serve…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.