标签:android 64位 adt aapt ubuntu
错误:
在Ubuntu 12.04 64位系统上运行Eclipse + ADT,报如下错误:
Error executing aapt. Please check aapt is present at /home/null/dev/sdk/build-tools/19.0.3/aapt
原因:
没有安装32位库
解决方法:
Step-1. 修改Ubuntu更新源
$ sudo vi /etc/apt/sources.list为如下内容
deb http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ precise main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ precise-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ precise-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ precise-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ precise-backports main restricted universe multiverse
然后运行:
$ sudo apt-get clean $ sudo apt-get update --fix-missing $ sudo apt-get upgrade
sudo apt-get install ia32-libs sudo apt-get install lib32z1
标签:android 64位 adt aapt ubuntu
原文地址:http://blog.csdn.net/programs/article/details/43917685