红联Linux门户
Linux帮助

Ubuntu Android开发:缺少libstdc++.so.6和libz.so.1文件

发布时间:2015-12-16 10:13:43来源:linux网站作者:qq_20480611

搭建完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