Super Quick Start
- Install Eclipse 3.5 (requires JDK 5 or 6)
- Install Android SDK
- Configure proxy
- Eclipse -- Window -- Preferences -- General -- Network Connections
- Install ADT Plugin for Eclipse (https://dl-ssl.google.com/android/eclipse/)
- Eclipse -- Help -- Install New Software... -- Available Software -- Add Site...
- Configure ADT
- Eclipse -- Window -- Preferences -- Android -- SDK Location (from step 2)
- Get available packages
- Eclipse -- Window -- Android SDK and AVD Manager -- Available Packages
- Select URL from step 4
- Click Install Selected
- Install HTC Aria skin
- Configure Virtual Device
- Eclipse -- Window -- Android SDK and AVD Manager -- New
Somewhat Quick Start
The first thing that needs to be done is to check your system requirements. Essentially you need a modern OS (Linux, Mac or Windows) and JDK 5 or 6. My platform:
- Gateway laptop NV58 Series
- Intel Core Duo CPU (64 bit) @ 2.2GHz and 4GB RAM
- Windows 7
- JDK 6
- Install Eclipse 3.5 (requires JDK 5 or 6)
- From what I read, version 3.6 is not recommended at this time, so you'll need to install 3.5
- Eclipse for Java Developers is what I downloaded, but the other flavors should work too
- Install Android SDK
- Download the SDK, and unzip it into a folder (I just used it off of C:\. i.e. C:\android-sdk-windows)
- Ensure the Android SDK folder has these sub folders (if not, then create these folders): add-ons, platforms, and tools
- Configure proxy
- If you are behind a firewall, and go through a proxy to the internet, then you will need to configure the proxy so that the software download will work through Eclipse.
- Eclipse -- Window -- Preferences -- General -- Network Connections
- Install ADT Plugin for Eclipse (https://dl-ssl.google.com/android/eclipse/)
- Eclipse -- Help -- Install New Software... -- Available Software -- Add
- Type in "Android" for the name, and enter the above URL for Location (you may need to change "https" to "http" in the URL above)
- Check the "Developer Tools" Checkbox and hit Next button
- Then click the Finish button
- Configure ADT
- Eclipse -- Window -- Preferences -- Android -- SDK Location (from step 2)
- Get available packages
- Eclipse -- Window -- Android SDK and AVD Manager -- Available Packages
- Select URL from step 4
- Click Install Selected
- Install HTC Aria skin
- Configure Virtual Device
- Eclipse -- Window -- Android SDK and AVD Manager -- New
- Type in Name, choose target (Aria is at 2.1, but could choose 2.2).
- Choose the skin from step 3
- Additional Notes
- You can start your emulator from the command line by getting into a console (Command Prompt on Windows), by issuing the following command from the Android SDK tools directory (i.e. C:\android-sdl-windows\tools\):
- emulator.exe -avd htc_aria8
- Sometimes I get an error when trying to start the Android SDK and AVD Manager. It says that the Android SDK is not configured. Just try again and/or re-add the Android SDK link to Eclipse -- Window -- Preferences -- Android -- SDK Location
- To install a Android package to your emulator:
- Ensure emulator with the virtual device you want loaded is running
- From the Android SDK tools directory, run the following command:
- adb.exe install /path/to/my_package.apk
The link to the HTC Aria skin is broken btw
ReplyDelete