搭建完Android开发环境后出现了两个错误:
1、adb: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
解决方法:
sudo apt-get install lib32stdc++6
2、adt-bundle-linux-x86_64-20140702/sdk/build-tools/android-4.4W/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
解决方法:
sudo apt-get install lib32z1
64位Ubuntu无法安装lib32stdc++6问题:http://www.linuxdiyf.com/linux/16575.html
Ubuntu15.04如何查找libz.so.1属于哪个包并安装:http://www.linuxdiyf.com/linux/13257.html