Android studio Installation tutorial

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
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-tJA64P6I-1615452261311)(attachment:image.png)]

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(环境变量)…
    [外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-PqCivHuz-1615452261315)(attachment:image-2.png)]
    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述

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.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-Y8CtSQGU-1615452261350)(attachment:image-8.png)]

  • 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
    [外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-zJKCm3Au-1615452261353)(attachment:image-11.png)]

Create two paths:
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-8N0lZ5iH-1615452261354)(attachment:image-12.png)]

Check: Open cmd, input java. If it shows a series of command, your configuration is sucessful.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-e4rFK8vB-1615452261355)(attachment:image-13.png)]

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/
在这里插入图片描述

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-7Y1S4ucd-1615452261356)(attachment:image-2.png)]

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-w3hmdA1a-1615452261357)(attachment:image-3.png)]

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-UJFGo4fN-1615452261358)(attachment:image-4.png)]

The above process costs about 3 mins.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-Ykm07i40-1615452261359)(attachment:image-5.png)]

Start Android studio. It may pop up the following window. The reason is that the AS starts the check process of Android SDK.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-PxYVnMpN-1615452261359)(attachment:image-6.png)]

Skip it first, and choose cancel button.

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-lnR2Dd42-1615452261360)(attachment:image-7.png)]

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-ZHImY4XE-1615452261360)(attachment:image-9.png)]

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-C0vjSWNg-1615452261361)(attachment:image-10.png)]

3. Install the Android Virtual Device(AVD)

The icon is the AVD manager.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-6TylyGnc-1615452261362)(attachment:image.png)]

Choose the hardware type of AVD.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-wbdm3Wog-1615452261362)(attachment:image-2.png)]

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-d8oHE7WW-1615452261363)(attachment:image-3.png)]

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-23OhFHoF-1615452261364)(attachment:image-4.png)]

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-6w8gvOl6-1615452261365)(attachment:image-5.png)]

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-eKXl2e3C-1615452261365)(attachment:image-6.png)]

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-aiGtbvOK-1615452261366)(attachment:image-7.png)]

Click the run button to start our AVD.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-I3AYe8dP-1615452261367)(attachment:image-9.png)]

After it starts, your can see the following window.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-ezspOE8Y-1615452261367)(attachment:image-10.png)]

Reference: http://forum.android-studio.org/forum.php (For Chinese students) Android studio 中文社区

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值