Article Directory
1. Download android studio
Log in to Android
official website to download Android studio official website link: Android official website
2. Installation
Click next
Click next
Just choose the default location
Click install
3. Configure SDK
Open andorid studio
Before you see the interface below, just close or cancel the rest
Click Settings
Just turn off after downloading
4. Configure the javase jdk environment
Download jdk
portal: click here to download
It seems that you need to register an Oracle account. Forget it, connect to Baidu Cloud (java jdk1.8) Portal: Click here to download, extraction code: 0731
Regarding the installation of jdk, just install it directly after downloading. If you have studied java before, you don’t need to reinstall it.
Configure the java jdk portal: click here
The last step is to configure jdk environment variables to check whether the environment variables are configured successfully
enter
java -version
If the content in the red box appears, it proves that the jdk installation is successful. Note: The current android studio SDK does not need to configure environment variables, haha
5. The last step before running the first program
This step is to download the virtual machine. Note: This only applies to CPUs of Intel type. If it is AMD’s CPU, you need to download two other software
6. Run the first helloworld program
Just pick one
The creation process is a bit slow, wait patiently (this is not the slowest yet!)
It was a bit slow the first time, and I had to wait for all the circles to finish.
However, you will find a big problem here. The download speed of the file named "gradle-6.1.1-all" is almost zero. When it is downloaded, the University of Petroleum has become a world-class university. In order to save everyone's time, I To change the method, you can directly hit the cross, close the download box, and then close andorid
studio
7. Download a compressed package
Portal: Click here to download: Extract code: 0731
Copy here, no need to unzip
Then open andorid studio, and create a new project
When all the circles are finished,
If the lap is slower, please wait patiently (don’t worry within five minutes) If it succeeds, the run button will turn green
Click to run and wait for the circle to finish
8. The first program helloworld runs successfully!
Today I finished my blog and went out and saw a double rainbow!
If you have any other questions, please discuss it in the comment area. See you