Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1391  / 2 Years ago, sun, may 22, 2022, 1:38:30

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.


More From » 11.10

 Answers
7

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.




  1. First install the Sun(Oracle) 32-bit JVM. Here is a step-by-step on how to do this:

  2. 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.
    Java7 Add Eclipse


  3. Set the Sun (Oracle) 32-bit JVM as default.
    Java7 Default Eclipse


[#40850] Sunday, May 22, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
turhizz

Total Points: 82
Total Questions: 106
Total Answers: 96

Location: South Korea
Member since Mon, Dec 6, 2021
2 Years ago
turhizz questions
;