Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730996 - dev-util/android-studio-4.0.0 with =dev-util/android-tools-9.0.0_p3-r1 - adb server version (41) doesn't match this client (40); killing...
Summary: dev-util/android-studio-4.0.0 with =dev-util/android-tools-9.0.0_p3-r1 - adb ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason A. Donenfeld
Depends on: 727430
  Show dependency tree
Reported: 2020-07-06 04:06 UTC by lazjen
Modified: 2021-10-14 19:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description lazjen 2020-07-06 04:06:17 UTC
dev-util/android-tools-9.0.0_p3-r1 provides an adb version 40.

The latest android studio (4.0.0+) uses adb client that is version 41, so it fails due to version mismatch

Reproducible: Always

Steps to Reproduce:
1. Install android-studio 
2. Attempt to use adb within Android Studio (e.g. adb start-server)
3. Should get error: adb server version (41) doesn't match this client (40); killing...

Actual Results:  
See Steps to Reproduce for details.

Expected Results:  
adb should not fail and no mismatch error.

android-tools needs to be upgraded? to provide an adb that is version 41.

Android studio v4 ebuild is awaiting version bump, see:  In that bug, I've added a sample ebuild that can install Android studio v4.
Comment 1 Joe Kappus 2020-10-28 17:11:21 UTC
This is not a bug, it's the intended behavior. 

Close this, what you want is a bump request like Bug #707568 (or whatever the equivalent android 10 version is these days).