Android development environment building-SDK (III)

Source: Internet
Author: User

  Install SDK

1. Download the SDK

Only after downloading the Android SDK (Software Development Kit) Can we engage in Android Development. The SDK can be downloaded from the official Android Website: Manager.exe to complete installation, it is like an online download tool, which automatically downloads available components from the official website of Android.

The SDK version is 14.0.0.

  

2: Run SDK Manager.exe

We can see that I have downloaded many versions. Why should we choose so many versions? Because we know that there are many versions of Android operating systems, including 1.5, 2.0, 2.2, and 2.3, our developed applications must be able to run in different versions, in this way, the download volume is also very large. We try to download all the frequently used versions and test them above.

  

  

SDK directory structure
1: add-ons is used to save third-party files required for Google plug-ins and development.
2: Platforms save sdks of different versions that have been downloaded
3: toos SDK Tool
4: SDK Manager.exe online Installation Tool
5: SDK Readme.txt description file
6: docs Android development documentation
7: Sample program of samples
8: extras attachment document
9: platform-tools Development Tool
10: temp cache directory

  

  Configure Environment Variables

  1: Android

In "my computer-> properties-> advanced-> environment variables", create a system variable named "Android, the variable value is the path of the tools directory and platform-tools directory on your hard disk, separated by ";" in the middle

My path is: F: \ development tools \ Android \ SDK \ android-sdk_r10-windows \ android-sdk-windows \ tools; F: \ terratools \ Android \ SDK \ android-sdk_r10-windows \ android-sdk-windows \ platform-tools

  

2: Path

Find a system variable named "Path" in "My computer-> properties-> advanced-> environment variable", modify its variable values, and separate them, write the system variable of Android just created, and pack it with % on both sides.

  

Test whether the environment variable is configured successfully.

Enter adb in dos. If it appears, it indicates that the configuration is successful.

What is adb? How can I use it? Will be explained in later chapters

  

 

 

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.