Android Development Environment configuration _ windows7 + Eclipse + SDK

Source: Internet
Author: User

The configuration of the android development environment is a very old topic, but I forgot it when I went to configure it a few days ago. So I wrote this blog to record it so that I could review it later and increase my impression. In fact, I can repost other people's articles. However, I still like it.

I. Required Software

Eclipse Standard:

Http://www.eclipse.org/downloads/

SDK:

Http://developer.android.com/sdk/index.html


2. Installation Steps

1. Decompress Elipse and use it directly.

2. Download ADT

Eclipse-help-Install New Software...

Work with fill: http://dl-ssl.google.com/android/eclipse/

Press enter to view the download list,

(If the download fails, refer to the final description)

After the installation is successful, the toolbar provides Android options and windows-preperences.


3. Install the SDK

Decompress the package and open SDK Manager.exe to download the Development Library (the last description of the download failure)



Automatically download and install the SDK, and then try to enable the android simulator. Open AVD Manager.exe In the SDK directory and configure it as follows:



Click Start to enable the simulator. If the simulator is enabled properly, the SDK is installed properly. (Okay, nonsense)


3. Final Configuration

Elipse-windows-preperence-android, fill in the SDK extraction Directory In SDK Location



4. Create and run a project

Eclipse-File-new-project




Continue to the next step. The specific configuration is not described here.

Run: Right-click Project-Run as-Android Application


Note:

If the download is slow, times out, the download fails, prompting Failed to fectch URl https://dl-ssl.google.com/android/repository/addons_list.xml, reason: Connection to https://dl-ssl.google.com refused,

It may be a network problem, because the server is Google, you know. The solution is as follows:

Open the hosts file in C: \ WINDOWS \ system32 \ drivers \ etc
Add the 74.125.237.1 dl-ssl.google.com to the last line
The problem is resolved successfully.


Well, that's almost the case. If there are any errors, I hope you can correct them. If you have any questions, please leave a message. :)


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.