Tutorial details

Android Source Code - Notes | App Code for Sale | Preview

Android Source Code - Notes | Android Tutorial

Few pointer to get the Android source code and to compile the Android source code. It also looks how to download the source code for the Android Development Tools (

Overview PAGE TOP

Lars Vogel

Version 0.5

Copyright © 2010 - 2010 Lars Vogel

29.01.2011

2_tbl.JPG

How to compile the Android source code

This article contains a few pointer to get the Android source code and to compile the Android source code. It also looks how to download the source code for the Android Development Tools (which are Eclipse plugins). The description is based on Ubuntu.

1. Git and repo PAGE TOP

To get the Android source code you to use two tools, Git and an additional tool called repo.

A modern version of Ubuntu has already everything necessary. Just install Git The installation of repo and the necessary steps for other platforms is described in Getting the Android Source code. After you installed the repo tool you can get the Android source code with the following command.

// To get the current master 
repo init -u git://android.git.kernel.org/platform/manifest.git ; repo sync ;

The command "git branch -a" show you all available branches, e.g. froyo and gingerbread. You can checkout them via "git checkout branch_name".

To compile the code run the following command.

make 

Reference PAGE TOP

http://www.vogella.com/articles/AndroidSourceCode/article.html

0 Comments Leave a comment

Please login in order to leave a comment.

Newest first
!

Sign-in to your Chupamobile Account.

The Easiest way to Launch your next App or Game.

Join Chupamobile and get instant access to thousands of ready made App and Game Templates.

Creating an account means you’re okay with Chupamobile’s Terms of Service and Privacy Policy.