The following assume that you have already Eclipse installed. For details please see Eclipse Tutorial .
1. Android SDK
2. Eclipse
3. Configuration
Select Window -> Android SDK and AVD Manager from the menu.
Select available packages and select the Android 2.3.3 (API10) version of the SDK.
Press "Install selected" and confirm the license for all package. After the installation restart Eclipse.
4. Android Source Code
During Android development it is very useful to have the Android source code available as Android uses a lot of defaults.
Haris Peco maintains plugins which provides access to the Android Source code code. Use the Eclipse update manager to install two of his plugins. Update site: "http://adt-addons.googlecode.com/svn/trunk/source/com.android.ide.eclipse.source.update" and "http://adt-addons.googlecode.com/svn/trunk/binedit/com.android.ide.eclipse.binedit.update".
More details can be found on the project website .
Create an Android Emulator Device
The Android tools include an emulator. This emulator behaves
like
a real Android device in most cases and allow you to test your
application without having a real device. You can emulate one or
several devices with different configurations.
Each
configuration is
defined via an "Android
Virtual Device" (AVD).
To define an AVD press the device manager button, press "New" and enter the following.
We will select the box "Enabled" for Snapshots. This will make the second start of the virtual device much faster.
At the end press the button "Create AVD".This will create the device and display it under the "Virtual devices". To test if your setup is correct, select your device and press "Start".
After (a long time) your device should be started.
To define an AVD press the device manager button, press "New" and enter the following.
We will select the box "Enabled" for Snapshots. This will make the second start of the virtual device much faster.
At the end press the button "Create AVD".This will create the device and display it under the "Virtual devices". To test if your setup is correct, select your device and press "Start".
After (a long time) your device should be started.
No comments:
Post a Comment