You are not logged in.

#1 2012-07-10 22:34:52

peperoni
Member
Registered: 2012-07-10
Posts: 7

Android sdk not working anymore on arch64

Hi,

Just have a strange problem I cannot solve. I have the android sdk on a ARCH64 laptop,working perfectly till 3 days. After a recent upgrade, the result of:

/opt/android-sdk/platform-tools/adb

gave me this output :

bash: /opt/android-sdk/platform-tools/adb: No such file or directory

After some googling, it appears that some lib32 libraries could be missing. After reinstalling every dependencies, the problem still remains. Any ideas ? Thanks

Offline

#2 2012-07-10 23:29:11

smakked
Member
From: Gold Coast , Australia
Registered: 2008-08-14
Posts: 420

Re: Android sdk not working anymore on arch64

is adb installed?
I just type adb and it works no need to add path


Certified Android Junkie
Arch 64

Offline

#3 2012-07-11 06:01:47

peperoni
Member
Registered: 2012-07-10
Posts: 7

Re: Android sdk not working anymore on arch64

Yes,adb is installed. Same problem.

ls /opt/android-sdk/platform-tools/adb :

/opt/android-sdk/platform-tools/adb

And if I try to start adb :
bash: /opt/android-sdk/platform-tools/adb: No such file or directory

Another clue : when I try to start a virtual device from eclipse, I get this funky message:

Starting emulator for AVD 'myDevice'
Failed to start emulator: Cannot run program "/opt/android-sdk//tools/emulator": java.io.IOException: error=2, No such file or directory

Offline

#4 2012-07-11 06:14:45

ebal
Member
From: Athens, Greece
Registered: 2009-05-26
Posts: 224
Website

Re: Android sdk not working anymore on arch64

@peperoni

My opinion is to to build a clean 32bit arch and chroot into this for using android.
https://wiki.archlinux.org/index.php/Ar … bit_system


https://balaskas.gr
Linux System Engineer - Registered Linux User #420129

Offline

#5 2012-07-11 07:04:20

peperoni
Member
Registered: 2012-07-10
Posts: 7

Re: Android sdk not working anymore on arch64

OK, i will try this solution first.

Offline

#6 2012-07-12 10:35:13

ewilly
Member
Registered: 2012-01-22
Posts: 8

Re: Android sdk not working anymore on arch64

if in your conf the testing repo is enable, you should enable the multilib-testing repo too in order to update  the lib32-glibc package
Hope this will help you

Offline

#7 2012-07-12 20:04:15

peperoni
Member
Registered: 2012-07-10
Posts: 7

Re: Android sdk not working anymore on arch64

@ewilly

multilib-testing is enabled, but I still have the same problem,  even after a system update. Thanks, anyway.

@ebal

Right now, I'm trying to build a clean 32bit arch. First attempt is a failure, for the same reason. I still have the "no such file or directory" after chrooting. I'm going to try the arch32-light package.

Offline

#8 2012-07-13 13:29:54

peperoni
Member
Registered: 2012-07-10
Posts: 7

Re: Android sdk not working anymore on arch64

solved:After installing eclipse and all the android stuff via the arch32-light package, I can use the android  dev kit.
@ebal: your solution is a working one. Thanks.

Offline

#9 2012-07-16 19:46:36

peperoni
Member
Registered: 2012-07-10
Posts: 7

Re: Android sdk not working anymore on arch64

update: after installation of eclipse-android under the arch64 and a chown -R [username]:[username] /opt/android-sdk, I've installed every package I need via the eclipse "android SDK Manager", and now everything works fine. I can start a virtual device, and the android auto-generation "R" class works fine inside of eclipse editor.
For me, it means that there still remains a problem in lib32-stuff in aur pkgbuilds for arch64. I've tried to get more information about the "no such file or directory" java error, trying to debug it  with environment variables, but it seem to doesn't work.
My advice is : if you are working on an arch64  computer and you encounter difficulties for having a working android-dev system, try to install packages directly from eclipse package manager.

Offline

#10 2012-07-17 11:49:15

cotko
Member
Registered: 2010-02-10
Posts: 16

Re: Android sdk not working anymore on arch64

I've just had the same problem, after upgrade running adb gave me this:
bash: ./adb: No such file or directory

luckily I checked pacman again (10 minutes after upgrade big_smile), saw new glibc package there, updated it and it started working again. I guess I can take an hour off now, my day was just saved smile

Offline

#11 2012-11-15 16:25:00

Ruffman
Member
Registered: 2012-04-07
Posts: 15

Re: Android sdk not working anymore on arch64

had recently the same problem. I had to enable multilib and install
lib32-glibc
lib32-libncurses
lib32-libstdc++5
to make it work. May be this is helpfull for someone

Offline

#12 2013-01-09 02:50:51

lhoffman
Member
Registered: 2012-12-15
Posts: 15
Website

Re: Android sdk not working anymore on arch64

I set up the ADT / with integrated eclipse today had to install the following:

lib32-glibc
lib32-libncurses
lib32-libstdc++5
lib32-zlib

Offline

#13 2014-08-21 14:06:11

callofdutyops
Member
Registered: 2014-08-21
Posts: 9

Re: Android sdk not working anymore on arch64

Thanks a lot! It works, but the packages' name have been a little different.

Update:
lib32-glibc
lib32-ncurses
lib32-libstdc++5

If you want the aapt works well, don't forget to install this:
lib32-zlib

Last edited by callofdutyops (2014-08-22 02:25:48)

Offline

Board footer

Powered by FluxBB