You are not logged in.

#1 2015-02-04 09:17:44

hamidtb
Member
Registered: 2013-03-25
Posts: 13

ADB not responding. If you'd like to retry, ...(Solved)

hi

today i install android studio on arch linux,everything is fine but when i try run my project i give below error

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

i google it and acording below link i need to install lib32stdc++6 and lib32z1

sudo apt-get install lib32stdc++6
sudo apt-get install lib32z1

http://stackoverflow.com/questions/2758 … 8#27734148

but i can't find this package on mirror or yaouart

run pacman -S lib32stdc++6 lib32z1 install nothing

Last edited by hamidtb (2015-02-05 05:16:31)

Offline

#2 2015-02-04 09:59:56

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: ADB not responding. If you'd like to retry, ...(Solved)

Hi hamidtb,
I don't use android studio but the link you provided does not seem to be related to your problem... however, in order to install 32bit programs on a x86_64 Arch machine, you have to enable the repository [multilib]: https://wiki.archlinux.org/index.php/multilib.

pacman -Ss lib32-libstdc++
multilib/lib32-libstdc++5 3.3.6-7 [installato]
    Legacy GNU Standard C++ library version 3 (32 bit)

You should also install the package android-sdk-build-tools form the AUR (wich provides a version of adb that should work with android-studio)


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#3 2015-02-05 05:15:46

hamidtb
Member
Registered: 2013-03-25
Posts: 13

Re: ADB not responding. If you'd like to retry, ...(Solved)

hi
finally i found packages

simply install this packages

lib32-glibc-2.20-6  lib32-gcc-libs-4.9.2-2  lib32-zlib-1.2.8-1

Offline

#4 2016-10-20 11:41:58

JackHerer
Member
Registered: 2016-10-20
Posts: 1

Re: ADB not responding. If you'd like to retry, ...(Solved)

I've been having this same problem but under a Linux system (32-bit), after searching t'interweb and finding nothing that helped me I went about fixing this issue myself.

I found that if I try to execute certain binaries that are bundled with Android Studio they would not execute, infact both adb and java threw the same error:

java/adb: cannot execute binary file: Exec format error
The fix for java is to use the system jdk not the one bundled with Android Studio. So I thought what the hell and changed the bundled adb binary.

First thing is to backup the bundled adb:

mv '/path/to/bundled/adb' '/path/to/bundled/adb~'

I then symlinked my system adb to Android Studio's sdk folder: (your systems adb may be in a different location)

ln -s '/usr/bin/adb' '/path/to/bundled/adb'

And voila it works! I think it may be due to the binaries being for a 64-bit CPU but I dunno, can anyone confirm this??

Offline

#5 2016-10-20 11:57:07

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: ADB not responding. If you'd like to retry, ...(Solved)

Thanks for sharing, JackHerer. However, since this is an old topic, and marked as solved, I'm going to go ahead and close it now.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB