Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adb server version (40) doesn't match this client (41) #95855

Closed
asrafulattare opened this issue Dec 27, 2021 · 2 comments
Closed

adb server version (40) doesn't match this client (41) #95855

asrafulattare opened this issue Dec 27, 2021 · 2 comments
Labels
r: invalid Issue is closed as not valid

Comments

@asrafulattare
Copy link

asrafulattare commented Dec 27, 2021

[✓] Flutter (Channel stable, 2.8.1, on macOS 11.3 20E232 darwin-x64, locale
    en-US)
    • Flutter version 2.8.1 at /Users/ashrafulattari/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (11 days ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/ashrafulattari/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 12.5.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.0.0.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.62.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • Redmi K30i 5G (mobile) • 1941df49 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)        • macos    • darwin-x64     • macOS 11.3 20E232
      darwin-x64
    • Chrome (web)           • chrome   • web-javascript • Google Chrome
      96.0.4664.110

! Doctor found issues in 1 category.
Launching lib/main.dart on Redmi K30i 5G in debug mode...
lib/main.dart:1
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
adb server version (40) doesn't match this client (41); killing...
* daemon started successfully
Error: ADB exited with exit code 1
Performing Streamed Install

adb: failed to install /Users/ashrafulattari/Desktop/cirillaapp/cirilla/build/app/outputs/flutter-apk/app.apk:
Uninstalling old version...
Error: ADB exited with exit code 1
Performing Streamed Install

adb: failed to install /Users/ashrafulattari/Desktop/cirillaapp/cirilla/build/app/outputs/flutter-apk/app.apk:
Error: Failed to install APK again.
Error launching application on Redmi K30i 5G.
Exited (sigterm)

ADB server version (40) doesn't match this client (41)
How can I fix this problem?

@maheshmnj maheshmnj added the in triage Presently being triaged by the triage team label Dec 28, 2021
@maheshmnj
Copy link
Member

Hi @attare026, This seems mainly an issue with your adb please try changing the adb path as mentioned here Genymobile/scrcpy#527 (comment) and see if that fixes the issue.

Closing as this isn't an issue with flutter.

@maheshmnj maheshmnj added r: invalid Issue is closed as not valid and removed in triage Presently being triaged by the triage team labels Dec 28, 2021
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
r: invalid Issue is closed as not valid
Projects
None yet
Development

No branches or pull requests

2 participants