error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir
来源:互联网 发布:2018年云计算展会 编辑:程序博客网 时间:2024/04/30 18:51
在linux上安装Android开发环境时,R文件不能生成。提示libz.so.1找不到。。。。执行aapt果然报错了。折腾了半天。
在网上找到一篇文章,查找该库的进行安装,终于解决了,在此记录下。。
1 到sdk目录 tools下执行 ./aapt ,根据报错信息,查看缺少的库
2 执行以下命令,查看谁提供该库 如
yum whatprovides ld-linux.so.1
把所有的都安装后
3 再次执行 aapt,同时在eclipse里也能正常生存R文件了。
另外,直接使用yum install eclipse 安装的eclipse 不能安装adt。。。浪费了好长时间。。可以直接去谷歌官网去下载一个集成ad的 eclpset版本
0 0
- error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir
- error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir
- error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir
- error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir
- error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or di
- error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or di
- as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or
- error while loading shared libraries: libz.so.1: cannot open shared object file: No such
- ./bin/logServer: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or dir
- aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file
- aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file
- aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file
- error while loading shared libraries: libmkl_rt.so: cannot open shared object file: No such file or
- error while loading shared libraries: ***.so: cannot open shared object file: No such file or direct
- error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such file or
- error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such file or
- error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such file or
- error while loading shared libraries: libvga.so.1: cannot open shared object file: No such file or
- LayoutInflater 总结
- iOS 设置UIView的边框和阴影
- Android开发全程记录(十五)——android调用webservice的方法
- 某android平板项目开发笔记----aChartEngine图表显示(2)
- 用Class 和 ClassLoader 获取资源的区别
- error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir
- Jquery css样式的设计
- Android之捆绑开发工具adt-bundle的下载
- 一篇厚道的Autolayout及VFL经验分享
- SQL: where条件中AND、OR运算符的组合使用
- 金蝶产品培训
- Textview属性
- http的chunked方式
- 给TextView加边框