You are not logged in.
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
is adb installed?
I just type adb and it works no need to add path
Certified Android Junkie
Arch 64
Offline
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
@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
OK, i will try this solution first.
Offline
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
@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
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
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
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 ), 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
Offline
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
I set up the ADT / with integrated eclipse today had to install the following:
lib32-glibc
lib32-libncurses
lib32-libstdc++5
lib32-zlib
Offline
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