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).
- Firstly you must download and install Java SE Development Kit (JDK) in order to use Eclipse IDE.
- Then download the Android SDK.
- After downloading, create a directory named android, on your local disk C. (C:\android)
- Extract the android_sdk zip file into the C:\android directory.
- 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.,
- 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.
- 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.
- 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.
- Create a directory named eclipse, in your local disk C.(C:\eclipse)
- Extract the eclipse zip file into the C:\eclipse directory.
- Double-click eclipse.exe to open Eclipse IDE and specify your workplace directory as you wish.
- In the Eclipse main window, click Help > Software Updates. Then click on Available Software tab and click on Add Site button.
- In the Add Site window, write https://dl-ssl.google.com/android/eclipse as Location value.
- Then click the checkbox of the site you added and click Install Software button.
- After installing, Eclipse will restart itself.
- 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 :)