64位ubuntu 12.04安装android eclipse plugin需要注意的地方

64位ubuntu系统,版本为12.04

搭建android开发环境,装完eclipse的android插件之后,导入了一个之前的project。

控制台报错:

[2012-06-21 23:30:57 - *****] /***/android-sdk-linux/platform-tools/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

并且eclipse的problem视图,提示:R cannot be resolved to a variable

解决方法是:

[

If you are running a 64-bit distribution on your development machine, you need to install the ia32-libs package using apt-get:

sudo apt-get install ia32-libs

]
其实,仔细查看android的官方文档的话,就会找到上面的这个解决方法。上面这句话就摘自
http://developer.android.com/sdk/installing.html 这个页面,翻到页面的最后就可以看到。

posted @ 2012-06-22 00:04  gshine  阅读(1008)  评论(0编辑  收藏  举报