Full installation of Android_studio and java

one. First download and install android_studio

1. After downloading the official website, click the green button Download Android Studio

  2. Choose the version suitable for your computer to download

 

3. After the download is complete, put the installer module where you want to put it, the desktop, c or d drive is fine, it can be deleted after the installation is complete. (The installer is the green icon below)

4. Open, click next

3. Choose both here, install both the main program and the virtual device

 

4. The installation path here generally chooses a disk with a large memory, because the subsequent operation consumes a lot of memory

 

5. Do nothing in this step, just install by default

6. Go all the way down, click next; finally choose to run the program, and then click finish (it may not run here, and you can continue to run the configuration after configuring it later)

 

two. java download

 (Since Android_studio is developed based on Java and kilton, we generally choose Java to set up the required environment.)

1. First download the Java version corresponding to the computer configuration on the official website (the version mentioned here is just the computer operating system is different)

First find the subnet of Java in China (the official website of Waijing is also available, it is all in English)

2. Find and download immediately, click in

3. Find the windows version, and then choose one, any one is fine. (generally choose the middle one)

4. After the download is complete, click Install, open and select Next.

5. The installation path here generally chooses the C drive, because Java is a system program, so it will be better compatible with the system if it is placed here, but it can also be placed on other drives, but I tried it once, and the computer is special. According to the actual situation of the computer.

6. Keep clicking Next until Finished.

 

7. After completion, open the system properties ---> advanced system settings --> environment variables --> see the following interface

 

 

 

8. At this time, please follow my steps slowly, because some friends deleted some things during the setting process, and various problems occurred later, which cannot be solved.

  1 ). Create a new JAVA_HOME variable in the system variables; pay attention to fill in the value of this variable at this time, the path of the Java installation just now, and then click OK

  

 2). In the same way, create a CLASSPATH variable; the value of the variable is: .;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;   (one letter cannot be missing)   

3 ). Find the Path variable in the system variables and click Edit.

Click in the space behind to create two new paths (or one path, fill in both, but add a semicolon in the middle and at the end), and then add

%JAVA_HOME%\bin

Fill in %JAVA_HOME%\jre\bin respectively, and then click OK. Finally, click OK.

Be careful not to delete the original path of Path', remember to remember.

9 ). After clicking OK, press the win+R key, and enter cmd in the command line window

Then write down java  –version (note that there is a space in the middle), and press the Enter key

If you can see the version number, it means success.

 

three. The initialization environment configuration of Android_studio.

1. Find the installed Android_studio

2. Click Run, after opening, the system will prompt to import Android Studio configuration, such as the first time, select Do not import settings, and then click OK

3.don’t send

4.next

5. Choose standard

6. The following path is fine by default

7. The following theme can be selected at will, one black and one white (if you accidentally click the wrong one, the configuration can be modified after entering).

 

8. Select the Android SDK component to be installed and the installation location, the default component is fine,

Note that the installation path selected below must be different from the installation path of Java and the installation path of Android-studio. It is recommended to create a new folder parallel to the installation path of Android-studio to store

 

 

8. Next and finish all the way until the end, so far the installation of Java and android_studio is complete. Once complete, you can create a new blank document for creation.

 

 

Guess you like

Origin blog.csdn.net/qq_63863334/article/details/127624855