码迷,mamicode.com
首页 > 移动开发 > 详细

android 开发环境搭建

时间:2015-08-17 19:11:16      阅读:156      评论:0      收藏:0      [点我收藏+]

标签:

 

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

Configuring USB Access

android 开发环境搭建

标签:

原文地址:http://www.cnblogs.com/cute/p/4737145.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!