简体   繁体   中英

ADB not responding. If you'd like to retry, then please manually kill “adb” and click 'Restart'

So... this problem made me banging my head against the wall for about two day now. When I try to run my android project the error mentioned on the title field appears on pop-up window. I am using android studio on 32bit Linux-mint distribution. I've tried the bellow solutions but, none has solved the issue.

  1. Go to Tools -> Android -> Enable ADB entegration

    My results:

    adb kill-server adb start-server

    adb devices
    daemon not running. starting it now on port 5037

    daemon started successfully List of devices attached . . No devices is listed

  2. Install dependencies

    My results:

    Reading state information... Done E: Unable to locate package lib32z1 E: Unable to locate package lib32z1-dev E: Unable to locate package lib32stdc++6 E: Couldn't find any package by regex 'lib32stdc++6'

This is SOLVED now! Downgrading the platform-tools version did the trick. https://askubuntu.com/questions/714653/adb-android-studio-ubuntu-error-unable-to-detect-adb-version-adb-output-hom

Thanks man! If I could, I would give you a big hug right now.

you can use the adb from the package manager: (at least on ubuntu but mint is derrived from ubuntu so it should work there too)

sudo apt-get install android-tools-adb

then use the normal terminal: adb shell

and this might seem obvious, but enable usb debugging on your phone.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM