2014-09-29 184 views
0

我已经安装了Ubuntu 12.10,我需要使用Android ADT软件包。当我尝试打开ADT的日志猫它显示了以下错误安装ia32-libs软件包

Cannot run program "xxx/sdk/platform-tools/adb": error=2, 

不知怎的,我发现安装IA32-libs软件包将解决这一问题。 当我试图在Ubuntu 12.10安装IA32-libs软件包我得到以下错误消息:

[email protected]:~$ sudo apt-get install ia32-libs 
Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
You might want to run 'apt-get -f install' to correct these: 
The following packages have unmet dependencies: 
ia32-libs : Depends: ia32-libs-multiarch 
virtualbox-4.3 : Depends: libqt4-opengl (>= 4:4.7.2) but it is not going to be installed 
        Depends: libsdl1.2debian (>= 1.2.10-1) but it is not going to be installed 
        Depends: libvpx1 (>= 1.0.0) but it is not going to be installed 
        Recommends: libsdl-ttf2.0-0 but it is not going to be installed 
        Recommends: dkms but it is not going to be installed 
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). 

而且我已经尝试下面的命令:

sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386 

,但没有得到预期结果。 有人可以帮我解决这个问题,关于如何在Ubuntu 12.10操作系统上正确安装ia32-libs软件包,以便我可以运行android adb。

回答

0

首先替换的Ubuntu 12.10源列表与Ubuntu 12.04列表,因为Ubuntu的12.10支持结束,你不能让回购该..

你会得到从Ubuntu的https://help.ubuntu.com/12.04/sample/sources.list 12.04 SOURCELIST复制的内容和替换/等/公寓/ source.list中...... 确保该文件

该运行更新后的备份..然后尝试install..this是必须步骤

如果失败..然后只需安装32位Java,因为我认为这将支持adt

命令和apt-get安装的OpenJDK-7-JDK:I386

感谢

+0

有任何命令来查看安装操作系统的最新版本? – Seenu69 2014-09-29 09:30:26

+0

$ cat/etc/issue将显示操作系统和版本 以查看架构$ uname -m – user3101911 2014-09-29 09:47:09