Preparing the software :
- JDK 6 (Java Development Kit) for environment variable.
- Eclipse Galileo as text editor, download it in http://www.eclipse.org/downloads/packages/release/galileo/sr2
- Android Development Tools (ADT),is a plugin for the Eclipse IDE that is designed to give you a powerful, integrated environment in which to build Android applications. Version I used : ADT-0.9.9 from http://developer.android.com/sdk/eclipse-adt.html
- SdkAndroid (android-sdk-windows), download it from http://developer.android.com/sdk/adding-components.html
The first is intalling JDK 6
- You just need to "Next" and "Next" as usual, for a default condition.
- When it's done, there are folders JDK and JRE on C://ProgramFiles/Java. In my case, I used 2 version above.
- Setting PATH for Java, from Control Panel>System>Advanced>Environment Variables, fill variabel name : PATH and variabel value : C:\Program Files\Java\jdk1.6.0_16\bin (show your \bin JDK folder).
- It would be something like this :
Install Eclipse Galileo and Android Plugins
- Download and extract it, install it as usual and put a shortcut on a desktop.
- Click Help > Install New Software > Add ADT and install it, it would buy some time.
- Read and accept the license agreements, then click Finish.
- Restart Eclipse.
- Select Window > Preferences > Select Android on the left panel.
- For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory.
- Click Apply, then OK.
- If you can't configure ADT Plugin wiith 3 step above, you may try use Window > Android SDK and AVD Manager > Available Package > click it all then click Install Selected.
- It would buy so much time (for me).
This is an emulator we used when we are make an Android Application, especially when we (still) don't have an android phone.
- Window > Android SDK and AVD Manager > Virtual Devices > New then we make a new characteristic for our new emulator.
- At that picture, I use API Level 10, so the emulator has a cute view like the second pict.
- Done!
0 comments:
Post a Comment