Article Directory
1. Download SDK
1. Download address:
http://tools.android-studio.org/index.php/sdk
2. After the download is complete, click Run to install, the following is a screenshot of important steps as follows
Two, select the installation content
Special note: delete the cache .android folder in C:\Users\Administrator, restart Android SDK Manager, otherwise the download will fail
1. Android SDK Tools in the Tools folder (the previous step has already been downloaded, and there is generally no need to install it again, but it may let you update), the content of the red box must be installed.
2. Choose a certain version of Android API, because Android is downward compatible, here I download the latest version. You can choose according to your actual needs.
3. The contents of extras can be downloaded if time permits. Download Android Support Repository and Google USB Driver if not allowed.
4. After selecting the content, start the installation
Three, the installation is complete, configure environment variables
The following is windows10 as an example
1. Create a new environment variable, variable name: ANDROID_HOME, variable value: subject to your installation directory (mine is D:\Program Files (x86)\Android\android-sdk), confirm that there are tools and add-ons, etc. Multiple folders, click to confirm.
2. Modify the PATH environment variable: New
%ANDROID_HOME%\tools
%ANDROID_HOME%\platform-tools
%ANDROID_HOME%\build-tools\29.0.3
2. Verify that the configuration is successful
Enter adb test in cmd