I was creating a new project out of nothing, for testing purpose, leaving all parameter to default (I didn't made any code change), on a new ADT installation (Ubuntu Gnome 14.04 LTS, x86_64 CPU), but I have the following error in the Eclipse Console :
[2014-06-11 09:03:10 - Kronos] /home/erwan/Applications/ADT/adt-bundle-linux-x86_64-20140321/sdk/build-tools/19.1.0/aapt: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Here is what I already tried:
-> I tried to (re)install ia32-libs, libstdc++ and libstdc++6 via Ubuntu software repository : No change
-> Checked for update (for Eclipse and the SDK) : No change
-> Reinstalled All Android Build tools : No change
-> Reinstalling ADB : No change
On my 64-bit Ubuntu 14.04 desktop, this was all I needed:
I too have a 64-bit Ubuntu 14.04 desktop, and the correct answer for that setup is indeed:
In my Ubuntu 16.04 , I am not able to install "All" the libs ( sudo apt-get install lib32stdc++6 ) with message saying:
After some digging, I found I was using the aapt with SDK 19. ( android-sdk-linux/build-tools/19.x.y/aapt )
switch the appt from sdk 19 to sdk 24 worked for me.
by editing the corresponding gradle file, change the
buildToolsVersion
from 19 to 24.0.1:i'm using ubuntu 15.04 version.I had the same problem. I had already installed ia32-libs package(which has now changed to lib32z1 lib32ncurses5 package) when i tried using command
i got a list of lib32stdc++6 packages which might solve the problem but this command wasn't able to correct the problem. so i just installed lib32stdc++6 package by using command
this worked perfectly for me