Archive

For April, 2012

How to download Android source code

No Comments

Source code of Android can be downloaded by following these steps:

$ mkdir ~/bin
 $ PATH=~/bin:$PATH
 $ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
 $ chmod a+x ~/bin/repo
 $ mkdir WORKING_DIRECTORY
 $ cd WORKING_DIRECTORY
 $ repo init -u https://android.googlesource.com/platform/manifest
 $ repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1
 $ repo sync

android-4.0.1_r1 can be replaced by any version displayed in the previous step. The download process will take a while.

Installing the Android Development Environment for Windows 7

No Comments

This post lists the main steps in order to install an Android development environment for Windows 7.  The developement environment relies on Eclipse.

  1.  Download a JDK (7u3)  from the following page: http://www.oracle.com/technetwork/java/javase/downloads/index.html.
  2. Install the JDK
  3. Set the environment variable JAVA_HOME that points to the installation directory of the JDK
  4. Download Eclipse Classic (3.7.2)  from the following page: http://www.eclipse.org/downloads/
  5. Unzip the Eclipse package where you want to install it.
  6. Download the  SDK starter package from http://developer.android.com/sdk/index.html.
  7. Install the SDK starter package
  8. Launch Eclipse and install the ADT plug-in
    1. Select “Help > Install New Software….”
    2. Add the Indigo repository:  http://download.eclipse.org/releases/indigo
    3. Add the repository https://dl-ssl.google.com/android/eclipse/
    4. Select “Developer Tools” and click next until it gets installed
    5. When Eclipse will restart, you will have to install some SDK’s.
Blue Taste Theme created by Jabox