Set up Android development environment in Eclipse3.7 document tutorial and video tutorial

Source: Internet
Author: User

1. Download Eclipse3.7, log on to http://www.eclipse.org/downloads/, and download eclipse Classic 3.7:

2. Install the ADT plug-in: Download Eclipse and decompress it. Run Eclipse. The first time you run the plug-in, you will be prompted to set the workspace. On the menu bar, select Help-Install New Software and enter http://dl-ssl.google.com/android/eclipse:

Select All, click Next -- Next, Select "I Accept (a few words are omitted here)", and then click Finish to install the plug-in:

During installation, the system prompts "Warning (a few words are omitted here)". Select OK. After the installation is complete, Select Restart and Restart Eclispe.

When Window is selected, the following options are displayed:

The Android option appears in the Preference window, indicating that the ADT plug-in is successfully installed.

You can follow the video tutorial to learn more.

3. Install Android SDK: log on to http://developer.android.com/sdk/index.html and download android-sdk_r12-windows.zip:

Decompress the package to the root directory of drive D. Note that the absolute address of the decompressed SDK Manager.exe file must not contain spaces. Otherwise, the following error will be reported when the simulator is started:

Invalid command-line parameter: Files \ android-sdk-windows \ tools/emulator-arm.exe.
Hint: use '@ foo' to launch a virtual device named 'foo '.
Please use-help for more information

Here, the Jedi address of the file is D: \ android-sdk-windows \ SDK Manager.exe.

4. Run D: \ android-sdk-windows \ SDK Manager.exe and the update will be automatically checked. The downloaded android-sdk_r12-windows.zip is only the tip of the iceberg. We also need to download and install the whole iceberg.

In, you can directly select Install or select Accept All and then Install. I chose all of them. The next installation process lasted for a few hours and must be relaxed.

5. Close SDK Manager.exe after installation. Run Eclipse, select Window -- Preference -- Android, select D: \ android-SDK-windows in sdk Location, click Apply, select Android 2.3.3 in Target Name, and click OK, to close the Preference dialog box.

6. Create an Android simulator: In Eclipse, select Window -- Android SDK and AVD Manager, and select Virtual decices on the left of the dialog box, click the New button on the right (you may need to extend the dialog box to see this button) and follow the parameters below:

Click Create AVD to Create the simulator.

7. In the Android SDK and AVD Manager window, select Android2.3.3 and click Start. In the displayed dialog box, set parameters. To make the simulator of moderate size, you can enter the following parameters:

After setting parameters, click Launch to start the simulator:

I have made some settings for the displayed simulator, such as time zone selection and language selection.

Now, the environment is ready for development.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.