Saturday, November 26, 2011

Setting up Android Development Environment

I am going to be doing my Android Development on a Windows 7 environment. This has already proven to present a unique set of challenges, especially regarding obtaining Android source for the android.jar.

Thus far, here are the steps I have taken for setting up my dev environment:

  1. Download Java SDK 6. I always install this to C:\java\jdk1.6.0_29
  2. Download Eclipse Indigo (Eclipse 3.7.1), 32 bit. I download the "Eclipse IDE for Java EE Developers" version and unzip this (no installer) to C:\eclipse.
  3. Download Tortoise SVN 1.7.1. Figured I will need this for source/version control. I *should* switch to git at some point. However, I use Subversion at work, and did not feel like struggling with learning a new distributed version control system at this point in time (already plenty of new stuff to learn).
  4. Installed Android SDK R15 (Windows Installer). I installed this to C:\android\android-sdk and ran the Android SDK Manager.


  5. I installed everything for Android 4.0 (Ice Cream Sandwich), Android 3.2 (Honeycomb), and Android 2.3.3 (Gingerbread). This took quite some time.
  6. Install Eclipse plugin for Subclipse 1.8 (compiled against SVN 1.7)

  7. Install Eclipse plugin for ADT (Android Development Tools)



From here, I began to create a "Hello World" Application. However, as I did so, I realized that the android source was not available.

Obtaining the Android source for android.jar was quite an adventure that I'll write about in my next post.


No comments:

Post a Comment