You are not logged in.
Pages: 1
Topic closed
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
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)
Offline
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
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
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
Pages: 1
Topic closed