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