如何使Android的AAPT和亚洲开发银行的工作在64位的Ubuntu IA32无 - 库(适用于版本12,13和14) [英] How to make Android's aapt and adb work on 64-bit Ubuntu without ia32-libs (works for versions 12, 13 and 14)

查看:111
本文介绍了如何使Android的AAPT和亚洲开发银行的工作在64位的Ubuntu IA32无 - 库(适用于版本12,13和14)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于Ubuntu的13.10不再有IA32-库,我不能得到一个干净的安装运行13.10我的Andr​​oid开发环境。

Since Ubuntu 13.10 no longer has ia32-libs I cannot get my android development environment running on a clean install of 13.10.

该错误是〜/机器人工作室/ SDK /集结工具/ Android的4.2.2 / AAPT:错误= 2,没有这样的文件或目录

The error is ~/android-studio/sdk/build-tools/android-4.2.2/aapt": error=2, No such file or directory

该文件的确存在并且是可执行的,但它是一个32位可执行文件。

This file does exist and is executable but it is a 32bit executable.

在previous将安装我刚刚安装了IA32-库来解决这个问题,但这种解决方案不再为Ubuntu 13.10的工作。

In previous installs I just installed ia32-libs to fix this but this solution no longer works for Ubuntu 13.10.

我曾尝试提出askubuntu问题,如解决方案。这一个<一个href="http://askubuntu.com/questions/107230/what-happened-to-the-ia32-libs-package">http://askubuntu.com/questions/107230/what-happened-to-the-ia32-libs-package

I have tried solutions proposed by askubuntu questions eg. this one http://askubuntu.com/questions/107230/what-happened-to-the-ia32-libs-package

但它不是为我工作。 从这个askubuntu.com答案,我知道我应该安装单独的封装,

but it isn't working for me. From that askubuntu.com answer I see I should install separate packages with

sudo apt-get install package:i386 

但我不知道是哪个要安装的软件包,使Android的工具重新工作。

but I don't know which packages to install to make the android tools work again.

有其他人解决了这个问题,或者有没有人有哪些需要安装为Android工具包的列表?

Has anyone else solved this problem and or does anyone have a list of packages which need to be installed for the android tools?

推荐答案

的dpkg --add-i386硬件架构命令不需要在Ubuntu的最新版本(13.10 ),需要在当前的Debian版本(7.x中),它会被要求在未来的Ubuntu版。所以我要离开它,只是忽略它的Ubuntu 13.10。

While dpkg --add-architecture i386 command is not needed in the current version of Ubuntu (13.10), it is required in the current Debian versions (7.x) and it will be required in the future Ubuntu versions as well. So I am going to leave it in. Just ignore it for Ubuntu 13.10.

sudo dpkg --add-architecture i386
sudo apt-get -qqy update
sudo apt-get -qqy install libncurses5:i386 libstdc++6:i386 zlib1g:i386

更新: AAPT 确实需要的zlib ,所以我把它添加到列表中。但是,你应该不会需要任何 LIB32 包。

Update: aapt indeed requires zlib so I added it to the list. But you should not be needing any lib32 packages.

这篇关于如何使Android的AAPT和亚洲开发银行的工作在64位的Ubuntu IA32无 - 库(适用于版本12,13和14)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆