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.
Go to Tools -> Android -> Enable ADB entegration
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
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.