Downloading the Tools.
- Download Android SDK r4.
- Download Eclipse Classic 3.5.1.
- Download Android Development Tools 0.9.5.
Installing the Tools.
- Extract the SDK at your root directory (ex: C:\)
- Extract Eclipse and run eclipse.exe
- On Eclipse, click Help -> Install New Software.
- Click Add... button, Add Site dialog will pop-up.
- Click Archive... button and browse for ADT-0.9.5.zip then click OK.
- Specify ADT as Name then click OK.
- Toggle-on Developer Tools then click Next to install.
- Now set the path of the SDK. Click Window -> Preference. Select Android, and set the SDK Location to: C:\android-sdk-windows, then click OK.
Installing the Android API.
- With the SDK path set, click Window -> Android SDK and AVD Manager.
- Select Available Packages. Then toggle-on the following:
- Documentation for Android 2.1, API 7, revision 1
- SDK Platform Android 2.1, API 7, revision 1
- And optionally, toggle-on:
- Google APIs by Google Inc., Adroid API 7, revision 1
- Usb Driver package, revision 3
- Click Install Selected then accept the license and click Install Accepted.
Creating Android Virtual Device (AVD or what we call Emulator).
- Again, click Window -> Android SDK and AVD Manager.
- Specify the Name (ex: MyAndroidEmulator)
- Choose Android 2.1 - API Level 7 as the Target.
- On Hardware, click New and OK repeatedly until all Properties has been added.
- Click Create AVD.
Now you can start writing Android Apps!
0 Response to "How to Setup Development Environment"
Post a Comment