วันอาทิตย์, มกราคม 22, 2555

Ubuntu: Got an error libncurses.so.5 wrong ELF class when execute adb

 Got an error libncurses.so.5 wrong ELF class when execute adb


when execute adb, got an error like this

#: adb
adb: error while loading shared libraries: libncurses.so.5: wrong ELF class: ELFCLASS64

Solution

    Install ia32-libs to the system

sudo apt-get install ia32-libs


Refer to Google documentation here
http://developer.android.com/sdk/installing.html#troubleshooting