在Ubuntu下安装Android开发环境,一切就绪后,项目编译出现问题:
错误信息为:Cannot run program
“/home/xxxx/android/android-sdk/platform-tools/adb”: error=2,
没有那个文件或目录
原因:由于是64位的linux系统,而Android SDK只有32位的,需要安装一些支持包才能使用。安装:
sudo apt-get install lib32bz2-1.0
解决了这个问题。不过,又报了一个新的错误:编译找不到 libstdc++.so.6 文件
sudo apt-get install lib32stdc++6
继续安装lib32stdc++6, 出现问题:
Reading package lists… Done Building dependency tree Reading
state information… Done Some packages could not be installed. This
may mean that you have requested an impossible situation or if you are
using the unstable distribution that some required packages have not
yet been created or bee