Android SDK installation and configuration environment

A separate download only sdk package, is not included in the SDK in Android Studio for Android Studio user does not need, other self Quguan network download.

      1:Android SDK (https://www.androiddevtools.cn/

      2: download the corresponding platform according to their latest version of the corresponding package, I downloaded earlier is shown in Zip, extract directly into the path you want to install the Android.

      

      3: extract the directory as follows

     

      4: Double-click the "SDK Manager.exe", start the SDK Manager, as shown, choose a few to be installed, others see their needs

           Tools folder inside the Android SDK Tools, Android SDK Platform-tools and Android SDKBuild-tools, download the latest election

            

            API to select the new version or download according to their own needs, I downloaded a 6.x, 5.x, 7.x, 8.x versions.

           

          What extras in, you can download all, I myself have chosen to download some of the following things:

          

      5: Download FQ possible, the original image can be domestic use, do not know can not, and will not find other FQ software to download.       

           1: Open Source Association of Chinese Academy of Sciences mirror sites Address:

                http://mirrors.opencas.ac.cn ports: 80

           2: NII mirror server address:

                 http://mirrors.neusoft.edu.cn Port: 80
           Click on the menu "Tools", then select the drop-down in the "Options ..."

           

         弹出窗口填写对应镜像地址和端口号,再勾选下面的【Forcehttps://... sources to be fetched using http://...】如图:

         

         点击close,关闭对话框,再重新启动SDK Manager。

         右下角点击下载,按照提示等待下载,下载成功,后面会显示已安装状态,要是标红安装失败。。emmm找其他软件FQ。。

         

 

二、Android SDK 环境配置

       1:新建一个系统环境变量,变量名为ANDROID_HOME,变量值为你的SDK安装路径

       

      2:在系统的path变量后追加 ;%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools

      若原来path变量后面已经有分号,则不要再加分号,要是没有,要加分号。

      3:在命令行窗口中输入”adb version“,出现版本号则安装成功

 

-----------------end--------------------

 

Guess you like

Origin www.cnblogs.com/gbgx/p/11313869.html