Reputation: 2355
My PC CONFIGURATION :
UBUNTU 11.10 version 64 bit ,
ECLIPSE 3.7 ,
ANDROID SDK
I tried hard to remove adb error but itsms not working and showing following Errors:
/platform-tools/adb:Error While loading Shared libraries
libncurses.so.5:wrong ELF class:ELFCLASS64
I even set all path for android set correctly but it wont works.
Upvotes: 2
Views: 1050
Reputation: 717
The elf (executable and link format) problem is due to your setup using amd64 and i386 stuff. The official Android SDK only runs on i386 JVM, so you need to manually specify the i386 JVM on Eclipse.
Add the JVM to Eclipse. Navigate:
Window > Preferences > Java > Installed JREs > Add
Put the location of the JVM. Probably will be /usr/lib/jvm/java7/
(my is /usr/lib/jvm/java-7-sun-1.7.0.01
). The external libraries will be automatically added when you put the location of the JVM.
Upvotes: 2
Reputation: 20936
Maybe the problem is that you did not install 32 bit libraries that are required for Android. Try to delete eclipse, java, SDK and everything else connected with Android, run command:
apt-get install ia32-libs
And after that install everything from the beginning. Actually, before you can try just run this command, maybe this helps you.
Upvotes: 2