标签:
ubuntu 14.04 64位 环境
参考
Cupcake (1.5)
Donut (1.6)
Eclair (2.0–2.1)
Froyo (2.2–2.2.3)
Gingerbread (2.3–2.3.7)
Honeycomb (3.0–3.2.6)
Ice Cream Sandwich (4.0–4.0.4)
Jelly Bean (4.1–4.3.1)
KitKat (4.4–4.4.4, 4.4W–4.4W.2)
Lollipop (5.0–5.1.1)
Android M (developer preview 2)
A 64-bit environment is required for Gingerbread (2.3.x) and newer versions
所以我们都要用64位环境
Installing the JDK
Java 6: for Gingerbread through KitKat
2.3到4.4都要用java6
mkdir android
chmod +x jdk-6u38-linux-x64.bin
./jdk-6u38-linux-x64.bin
Installing required packages (Ubuntu 14.04)
按官方14.04安装命令:
sudo apt-get install bison g++-multilib git gperf libxml2-utils make python-networkx zlib1g-dev:i386 zip
出现错误
g++-multilib : 依赖: g++ (>= 4:4.8.2
先装g++
sudo apt-get install g++
再运行之前的命令
sudo apt-get install bison g++-multilib git gperf libxml2-utils make python-networkx zlib1g-dev:i386 zip
flex build-essential
标签:
原文地址:http://www.cnblogs.com/cute/p/4737145.html