I used to install Android Studio with exe installation package, but later FOUND that a lot of things will be stored in C disk, ORIGINALLY C disk too much stuff is uncomfortable, some things are too big, behind the online introduction, as well as my own practice, wrote such a guide. On the Android Developer official website,Android Studio provides a variety of download options in the form of the recommended official version shown below

The preview provides Beta and Canary, but for some reason the preview prompt system is not supported

DOWNLOAD OPTIONS provides files for each platformAs a Windows user, the Windows version provides the EXE installation package and zip package regardless of the configuration of other platforms. It is better to choose the ZIP package and directly decompress the package to a drive letter other than drive C. The decompressed package is as follows

The main work of configuring Android Studio is in the bin directory. In the bin directory, go to the idea. Properties file and open it as a text editThe path of the green part can be configured according to personal preference. I put the path in the Android after decompression In the Studio directory, notice that {user.home} in red is the green part of the configuration path, the red part of the mode is marked with #, in order to effect the configuration, you need to remove the previous #, save and exit, in the bin directory at the end of the program start: studio64.exe or studio64.exeAfter startup is to configure the JDK, SDK path, SDK directory can build a directory in their own disk, and then point to this directoryAfter completing the next steps, open SettingSearch for Gradle in the search bar and change the default Gradle path. Here is the path I configured myselfClick ok/Apply to complete the configuration, create a new project or open a project, and then download the necessary downloads for the project. Basically, download gradle and other necessary dependencies To find the gradle compressed package of the corresponding version on the Internet, find the gradle compressed package of the corresponding version in the gradle directory previously configured, and put the downloaded gradle compressed package into the directory, as shown in the figureThe default emulator path for Android Studio is also on drive C. Configure the emulator path in the environment variable ANDROID_SDK_HOME on Android New emulators created by Studio are placed in a custom directorySo that’s pretty much the end of the Android Studio configuration and maybe I missed something, maybe I said something wrong, please leave a comment and finally I’ll give you some advice. Android Studio tries not to use built-in updates to update, especially those with large version spans. You can download compressed packages to experience, so that you can install several versions as you want without affecting each other. Finally, attach the warehouse source address of Ali Cloud

maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
Copy the code

Copy it into your project’s build.gradle file, repositories{}