如何在 64 位系统上安装 ia32-lib?

如何在 64 位系统上安装 ia32-lib?

我是 Ubuntu 新手,正在设置 android 环境。我在 google 上搜索了太多有关此问题的信息,但没有任何帮助!!当我打开 eclipse 并测试 android 示例项目时,出现错误提示“R 无法解析”

Error executing aapt. Please check aapt is present at /home/rahul/android-sdks/platform-tools/aapt
Hint: On 64-bit systems, make sure the 32-bit libraries are installed: sudo apt-get install ia32-libs

尝试sudo apt-get install ia32-libs

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

答案1

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install ia32-libs

答案2

打开终端并输入

sudo rm -rf /var/lib/dpkg/lock

答案3

关闭 synaptic 或任何其他安装程序。

相关内容