天天看點

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