Thursday, March 27, 2008

Configure system for Android development

Development for embedded devices is always fun. With release of Google Android contest level of fun could even higher. Next steps will demonstrate a way how to configure development environment:

0. Start a Virtual PC with Windows XP. It is my favorite way to create new development environment. But it is optional.
1. Download JDK6 from http://java.sun.com/javase/downloads. It will require 300 MB on you hard drive
2. Download Eclipse IDE for Java Developers - Windows (79 MB) from lipse Europa Winter Maintenance Packages (www.eclipse.org/downloads). Nice part that Eclipse does not have an installation process. Once files have been unzipped you are done.
3. Download Android SDK from code.google.com/android/download.html. Unzip into C:\android-sdk_m5-rc15_windows and add C:\android-sdk_m5-rc15_windows\tools to My Computer->Environment Variables->System Variables->Path.
4. Start Eclipse and configure development forlder for example C:\Projects
5. Follow instraction and install Installing the Eclipse Plugin (ADT) from code.google.com/android/intro/installing
6. After restart, update your Eclipse preferences to point to the SDK directory. This could be done from Window -> Preferences -> Android -> SDK Location

Done, now system is ready for development.