天天看点

ubuntu14.04 安装Android高通编译环境

1. 修改下载源

sudo vim /etc/apt/sources.list
           

   将下载源里面cn.archive.ubuntu修改为miirors.163

   %s/cn.archive.ubuntu/miirors.163/g

ubuntu14.04 安装Android高通编译环境

2. 更新和升级系统

sudo apt-get update
sudo apt-get upgrade
           

3.下载android需要的环境

sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev lib32ncurses5-dev lib32z1 x11proto-core-dev libx11-dev lib32readline-gplv2-dev lib32z1-dev libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc
           

4.安装jdk

   高通版本默认安卓需要openjdk

sudo apt-get install openjdk-7-jdk