The installation of Android studio
Including three steps:
1. Install the JDK with the latest version.
download link:
https://www.oracle.com/java/technologies/javase-downloads.html
Install the JDK with the defaulted settings.
Change the enviroment varibles to change the register tables.
We take the Win 10 as the example.
- Open the window of enviroment varibles:
Right click 右键 This PC(此电脑) -> Properties(属性) -> Advanced system settings(高级系统设置) -> Environment Variables(环境变量)…
Create a new variable.
Input:
Variable name: JAVA_HOME. Variable value:The direction of your JDK installed.
The direction of your JDK installed should include the following files.
- Create or edit CLASSPATH variable.
If it has already exsisted the CLASSPATH variable,then click Edit botton;Otherwise, click the New button.
Click OK button to save.
- Modify the Path variable
Create two paths:
Check: Open cmd, input java. If it shows a series of command, your configuration is sucessful.
Note: Sometimes the folder of Program Files is hidden, so you should change the demonstration setting.
If the JDK has not the file of jre/tools, just miss the step II and only add the path with %JAVA_HOME%\bin.
2. Install Android studio.
Download link: https://developer.android.google.cn/studio/
The above process costs about 3 mins.
Start Android studio. It may pop up the following window. The reason is that the AS starts the check process of Android SDK.
Skip it first, and choose cancel button.
3. Install the Android Virtual Device(AVD)
The icon is the AVD manager.
Choose the hardware type of AVD.
Click the run button to start our AVD.
After it starts, your can see the following window.
Reference: http://forum.android-studio.org/forum.php (For Chinese students) Android studio 中文社区