Android 2.3.4 building guide
来源:互联网 发布:安安学车软件 编辑:程序博客网 时间:2024/06/05 10:04
摘要:随着智能手机的普遍应用,作为被广泛应用的开源智能手机操作系统Android被广泛关注。本文接合了笔者的经验介绍了在ubuntu10.04上编译Android源代码的步骤。
关键字:Android,Ubuntu10.04,编译
Step 1: Follow instructions to setup environment
http://source.android.com/source/initializing.html gives instructions about setup OS, JDK and many essential libraries, follow them to finish preparation. I choose Ubuntu 10.04 as local OS. (Is your ubuntu too ugly to use? Try MacBuntu@SrouceForge, easy to install and use.)
Step 2: Download source code
http://source.android.com/source/downloading.html gives instructions about setup Git and Repo for downloading source code. But pay attention to change the branch to "gingerbread" in the following command:
$ repo init -u git://android.git.kernel.org/platform/manifest.git -b froyo, you can find other branches in http://source.android.com/source/overview.html
Command "repo sync" takes a long time and may be hanged, so find something to do at this moment but don't be so far from computer.
Step 3: Compiling source code
$ source build/envsetup.sh
$ lunch full-eng
$ make -j4
Step 4 : Running in emulator
$ emulator
- Android 2.3.4 building guide
- Building Android for Qemu: A Step-by-Step Guide
- building Android
- The Definitive Guide to Building Java Robots
- A Guide to Building Secure Web Applications
- GUIDE TO BUILDING OGRE
- android guide
- Android Guide
- Android API Guide for Media Apps(三)—— 构建音频应用(Building an Audio App)
- Android API Guide for Media Apps(四)—— 构建媒体浏览器服务(Building a Media Browser Service)
- Android API Guide for Media Apps(五)——构建媒体浏览客户端(Building a Media Browser Client)
- Android API Guide for Media Apps(七)——构建一个视频应用(Building a Video App)
- Android TV -2.3- Building a Details View
- Building Android notifications 2.3 through to 6.0
- Android Ndk(Beginner ‘s guide)(2.3)
- Building a Web Site with Ajax: Visual QuickProject Guide
- official guide of building linux sdk and windows sdk
- Open Source community building: a guide to getting it right
- C++快速排序模板
- java学习(12)
- s1e1
- Memcache基础教程
- subprocess.popen.kill杀死所有子进程
- Android 2.3.4 building guide
- java学习(13)
- OpenCores框架
- deeptree的跨浏览器改造,取得突破性进展
- java interface和abstract的区别
- 组件模型 Component Model
- java学习(14)
- Build an Environment for Debug Dalvik
- 如何在VS中添加命令行参数