android 环境配置 ubuntu 14.04 64位

1.下载adt-bundle-linux-x86_64-20131030.zip

2.path环境变量设置

3.创建项目

r can't be resolved to a variable android 4.4

下载32位相关包报错

apt-get install ia32-libs

阿里云源, 改更新源sudo gedit /etc/apt/sources.list,

deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse

apt-get install lib32z1

apt-get install lib32ncurses5

apt-get install lib32stdc++6 

环境正常

猜你喜欢

转载自guoxubo.iteye.com/blog/2235374