Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 730996

Summary: 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...
Product: Gentoo Linux Reporter: lazjen
Component: Current packagesAssignee: Jason A. Donenfeld <zx2c4>
Status: UNCONFIRMED ---    
Severity: normal CC: perfinion, zmedico
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 727430    
Bug Blocks:    

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 4.0.0.16.193.6514223 
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: https://bugs.gentoo.org/727430.  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).