我已经在 Ubuntu 12.10 上成功安装了 android SDK 和 android eclipse 插件。我在 Eclipse 中创建了 AVD,现在它没有运行。这是我在运行 AVD 时收到的输出错误:它提示:
Starting emulator for AVD 'avd'
Failed to start emulator: Cannot run program "/home/sancai/android/adt-bundle-linux-x86_64-20130522/sdk//tools/emulator": java.io.IOException: error=2, No such file or directory
我通过google找资料,大家都说这是因为我的系统版本是64,而adt只支持32,要安装:sudo apt-get install ia32-libs,当我安装32位库时,出现其他问题如库文件关联到其他库,但没有其他库文件完整,提示:
sancai@ubuntu:~$ sudo apt-get install ia32-libs
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 been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ia32-libs : Depends: ia32-libs-multiarch but it is not installable
E: Unable to correct problems, you have held broken packages.
sancai@ubuntu:~$ sudo apt-get install ia32-libs-multiarch
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ia32-libs-multiarch is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'ia32-libs-multiarch' has no installation candidate