Monday, July 26, 2010

Development Using Eclipse IDE



In this first blog post about Android Development, I would like to explain how to start development using Eclipse IDE and Android SDK (On MS Windows).


  1. Firstly you must download and install Java SE Development Kit (JDK) in order to use Eclipse IDE.
  2. Then download the Android SDK.
  3. After downloading, create a directory named android, on your local disk C. (C:\android)
  4. Extract the android_sdk zip file into the C:\android directory.
  5. Now you need an easy setting in order to use Android SDK on Windows. Right-click to Computer, then click Properties. In the Properties window, open Advanced tab. Click the Environment Variables button at bottom-right side.,
  6. In the User Variables view, double-click the Path to change this variable. As Variable Value, write C:\Program Files\Java\jre6bin then click OK.
  7. In the System Variables view, double-click the Path to change this variable. Add the android tools directory to the end of the current value in Variable Value as C:\android\tools then click OK.
  8. Now you are ready to use Eclipse IDE. You can download the latest version of Eclipse from the official download page. You can choose the type of your operating system from the list and start download.
  9. Create a directory named eclipse, in your local disk C.(C:\eclipse)
  10. Extract the eclipse zip file into the C:\eclipse directory.
  11. Double-click eclipse.exe to open Eclipse IDE and specify your workplace directory as you wish.
  12. In the Eclipse main window, click Help > Software Updates. Then click on Available Software tab and click on Add Site button.
  13. In the Add Site window, write https://dl-ssl.google.com/android/eclipse as Location value.
  14. Then click the checkbox of the site you added and click Install Software button.
  15. After installing, Eclipse will restart itself.
  16. Now click Window > Preferences on Eclipse menu. Choose Android from left frame and write C:\android to the SDK Location box.

Congratulations! You are now ready to develop your applications.

Good luck :)

No comments:

Post a Comment