How to build an Android development environment on Windows

Source: Internet
Author: User
Tags android sdk manager

Android development more and more fire, many small partners have to learn Android development, learning Android development is the first task is to build an Android development environment, because everyone is mainly real windows on the development of Android, Here's a detailed introduction to how to build an Android development environment on Windows.

Tools/Materials

Adt-bundle-windows-x86_64-20140702.zip

Method/Step

One, install the JDK configuration environment variable
This section can refer to the reference experience. Finally, enter Javac on the command line to test if the JDK environment variable is set up, and if there is a lot of information about Javac, then the JDK environment is set up, as shown in the build-up.

Win10 How to install JDK8, how to configure JDK8 environment variables

Second, download the integrated installation package Adt-bundle-windows-x86_64-20140702.zip

Can be downloaded directly on the Internet, can also be downloaded in the network disk (HTTPS://PAN.BAIDU.COM/S/1SLYU0HF), download their corresponding version of the 64-bit JDK environment of the next 64-bit version, 32-bit JDK environment in the next 32-bit version.


Third, unzip the package directly to the directory you want, here I extract to the D drive, into the directory after the decompression can see two folders are Eclipse and SDK, there is an SDK Manager.exe file.


Four, download the Android SDK
Double-click SDK Manager.exe, first a command-line window flashes and a "Android SDK Manager" window appears in a few moments. If Google can connect, you can see a list of all Android versions.

Five, not even Google can use the agent, click the "Tools" button on the "Android SDK Manager" Window menu bar, in the pop-up drop-down menu, select "Options ..." as shown in.


Six, in the pop-up "Setting" interface, the first two text box content as shown on the picture, that is the Chinese Academy of Sciences Mirror site. Then in the other item tick "Force Https://...sources to be fetched using HTTP//", "Ask before restarting ADB" and "Enable Preview Tools", Click the "Close" button when you are finished.


    • If the link is not on, you can Baidu to find Google agent, to replace.

Seven, go back to "Android SDK Manager" main interface, click the "Packages" button on the menu, select "Reload" in the pop-up drop-down box.


Then you will find the "Packages" in the main interface of "Android SDK Manager" showing the development tools and APIs of each Android version.

Eight, in the "Packages" list, select the version of the Android SDK that you want to install, and then click "Install * Packages ..." in the bottom right. Here I choose Android6.0, if the actual development proposal will Android2.0 the above versions are downloaded.


Nine, back to the "Android SDK Manager" main interface, you can see the bottom of the progress bar and download the basic information, including the download version, the progress of the download, the download speed and the remaining time, as shown in.


Ten, configure the environment variables for Android
How to configure environment variables for Android in WIN10
11. Open Android in Eclipse
Go to the directory where you just unzipped the installation package, go to the Eclipse folder, select the Eclipse.exe file and double-click the right mouse button. Then you can create a new Android project in Eclipse, turn on the Android virtual machine, and test the app.

How to build an Android development environment on Windows

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.