Nanny level - Android Studio installation tutorial & environment variable configuration

1. Android Studio installation tutorial

1.1 Official website download address: Download Android Studio and SDK tools | Android Developers

1.2 Find the downloaded installation package, double-click it, and then follow the steps below.

1.3 Click Browse here to change the installation path (recommended), or it can be installed in the default path.

1.4 After the installation is complete, check Start Android Studio and click finish. 

1.5 After the startup is complete, choose not to import the configuration, and then click OK.

1.6 You can choose whether to send usage information, or choose Don't send if you don't want to.

 

1.7 Prompt that the SDK cannot be accessed, choose to cancel.

 1.8 Select Custom Installation for the installation type.

1.9 Select the location where JDK is installed by default. 

 1.10 Select the theme color of AndroidStudio and set it according to personal preference.

1.11 Set the installation path of the SDK.

 1.12 After the installation is complete, start a new project.

2. Environment variable configuration

2.1 Right-click My Computer——"Properties—"Advanced System Settings—"Environment Variables.

2.2 Create a new system variable ANDROID_HOME, the path is C:\Users\22923\AppData\Local\Android\Sdk (change it according to the location of the SDK you installed).  2.3 Edit Path under system variables, and create a new environment variable.

%ANDROID_HOME%\platform-tools //使用ADB命令配置 
%ANDROID_HOME%\tools
%ANDROID_HOME%\build-tools\33.0.2​​​​​​ //使用aapt,xl 等工具

2.4 adb command test, win+R, enter cmd, enter adb verison in the command line window, the display of version and other information indicates that the configuration is successful.

Guess you like

Origin blog.csdn.net/qq_45108200/article/details/124900539