Set up the android development environment in eclipse3.7

Source: Internet
Author: User

1. Download eclipse3.7 and log on.Http://www.eclipse.org/downloads/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 it in the work with column.Http://dl-ssl.google.com/android/eclipse/Press enter to display the following information later:

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.

3. Install Android SDK: log onHttp://developer.android.com/sdk/index.htmlDownload 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, and select D: \ In SDK location :\Android-SDK-Windows, click Apply, select Android 2.3.3 in target name, and click OK to disablePreference dialog box.

6. Create an android Simulator: SelectWindow -- Android SDK and AVD manager, select virtual decices on the left of the dialog box, and click the new button on the right (you may need to extend the dialog box to see this button)).Enter parameters:

Click Create AVD to complete 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 enable the simulatorModerate size, which can be modeled as a parameter:

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.

 

Refer:

Http://my.oschina.net/plumsoft/blog/29283

Http://www.duote.com/tech/android/19938_4.html

Http://www.oschina.net/android/2/dev-env-setup

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.