You are not logged in.
Pages: 1
Hi. I'm trying to run "adb" from the Android SDK, but i get a "file not found", and is i googled it turned that i need to install "ia32 libs", meaning in Arch, to install multilib repo. So i did, uncommented everything but nothing is installed by then, and cannot get adb to work:
Pacman.conf: http://pastebin.com/W9Sqb5ux
Mirrorlist: http://pastebin.com/ehkXTt9q
uname -a: Linux NatH 3.13.6-1-ARCH #1 SMP PREEMPT Fri Mar 7 22:47:48 CET 2014 x86_64 GNU/Linux
I ran already
pacman -Syyubut it didnt work.
Any ideas?
Last edited by Juszr (2014-03-17 22:55:39)
Offline
Have you tried another mirror?
Offline
Hi. I'm trying to run "adb" from the Android SDK, but i get a "file not found", and is i googled it turned that i need to install "ia32 libs", meaning in Arch, to install multilib repo. So i did, uncommented everything but nothing is installed by then, and cannot get adb to work
Please paste actual error messages: https://bbs.archlinux.org/viewtopic.php?id=57855
Not a Sysadmin issue, moving to NC...
Offline
Have you tried another mirror?
Yes. I unchecked mirrors from the US, Australia and Israel, and nothing. I still cannot run ADB.
Last edited by Juszr (2014-03-17 23:05:38)
Offline
pacman uses the first mirror that's working, so unless you comment out the Austrian Australian one, it's the only one tested.
Are you using the packages from the AUR?
https://wiki.archlinux.org/index.php/Android
Last edited by karol (2014-03-17 23:06:46)
Offline
# pacman -Syyu
:: Synchronizing package databases...
core 108.8 KiB 151K/s 00:01 [######################] 100%
extra 1467.4 KiB 1047K/s 00:01 [######################] 100%
community 2.1 MiB 1029K/s 00:02 [######################] 100%
multilib 114.7 KiB 181K/s 00:01 [######################] 100%
:: Starting full system upgrade...
there is nothing to doNo, i just unzipped the ADT bundle from Google.
Last edited by Juszr (2014-03-17 23:12:33)
Offline
Please post the exact command you run and the output - both for adb and updating your system. Also, post the output of 'file /path/to/adb'.
Offline
$ ADT/sdk/platform-tools/adb
bash: ADT/sdk/platform-tools/adb: No such file or directory
$ file ADT/sdk/platform-tools/adb
ADT/sdk/platform-tools/adb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not strippedOffline
Follow the instructions in the wiki instead of using the ADT bundle. That's what the wiki is there for ![]()
Offline
Follow the instructions in the wiki instead of using the ADT bundle. That's what the wiki is there for
Thanks but that doesn't really solve my problem. One package is out of date btw.
I see on those packages dependencies are "lib 32" libraries... is that what i need to install? Installing gcc-multilib is the solution?
Offline
You'll have to install the lib32 libraries mentioned in the PKGBUILD. If you believe it is outdated, why don't you update the PKGBUILD and use that to install? (change source array, change pkgver and pkgrel, updpkgsums, maybe fix build and package functions)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Installing all those 32-bit libraries did the job. Hope there'll be a package for doing this automatically.
Offline
Hope there'll be a package for doing this automatically.
What do you think the PKGBUILD is for? ...
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Installing all those 32-bit libraries did the job. Hope there'll be a package for doing this automatically.
https://aur.archlinux.org/packages/an/a … k/PKGBUILD
if [[ $CARCH = x86_64 ]]; then
depends=('java-runtime' 'lib32-alsa-lib' 'lib32-openal' 'lib32-libstdc++5'
'lib32-libxv' 'lib32-ncurses' 'lib32-sdl' 'lib32-zlib' 'swt')
fiOffline
No clue, i am a newbie, and as i wrote above, i didn't install it from AUR but downloaded bundle zip from Google.
Offline
No clue, i am a newbie, and as i wrote above, i didn't install it from AUR but downloaded bundle zip from Google.
In Arch Linux we use pacman to install packages, keep track of dependencies etc. Read the wiki about pacman, the AUR and friends.
Offline
Well, this is what i've done:
1) I installed all 32-bit dependencies:
java-runtime, lib32-alsa-lib, lib32-openal, lib32-libstdc++5, lib32-libxv, lib32-ncurses, lib32-sdl, lib32-zlib, swt2) Downloaded adt*zip from Google.
3) Unzipped and added ~/ADT/sdk/tools and ~/ADT/sdk/platform-tools to my $PATH (if not, i get a strange error "app_combat...")
and.. WORKED!
Thanks everyone.
Offline
Glad you figured it out, although why not install it from AUR?
Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
Offline
Pages: 1