Tuesday, February 4, 2014

aapt: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

Error

aapt: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

This error happened after upgrading Ubuntu to 13.10 64bit when trying to build Android projects on Eclipse


Solution

Installing "lib32stdc++6" solved the error

sudo apt-get install lib32stdc++6


Credits:http://askubuntu.com/questions/147400/problems-with-eclipse-and-android-sdk


6 comments:

  1. Thanks a lot Karim, it had resolved the problem for me too ;)

    ReplyDelete
  2. thanks karim, worked for me with android adt on ubuntu 14.04 64-bit running under virtualbox on a mac.

    ReplyDelete
  3. Likewise, solved this problem for me on 14.04 64-bit. Thanks Karim!

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Thanks Karim, solved it for me too, now struggling with libGL.so while launching the emulator...

    ReplyDelete