今天在ubuntu 14.04.1上安装了Android development tools,直接在官网下载的,解压后打开Eclipse出现了Cannot run program的错误,网上一搜发现是64位系统的问题,在网上overflow找到了如下解决方法:


Before ubuntu 12.04, you must install ia32-libs

sudo apt-get install ia32-libs


较新版本的ubuntu需使用下面这条语句:


If you're on ubuntu 13.10 (and possibly other versions >= 12.10), you may need to install

sudo apt-get install lib32ncurses5 lib32stdc++6 zlib1g:i386 libc6-i386

in stead. ia32-libs is no longer available on 13.10