Ubuntu16.04 LTS 下安装 Android Studio 2.2.2 的详细步骤
作者:minamotoasahi 时间:2022-08-11 09:59:22
下载 Android SDK,官网:www.android.com 我相信很多人跟我一样,进不去。Android Studio 中文官网 www.android-studio.org 进去下载, 在终端解压到想安装SDK的目录(设SDK目录为 $ASDK_HOME )即安装完成。
进入目录 $ASDK_HOME/tools/,终端运行命令 ./android 进入 SDK Manager. 通过这个软件,可以选择下载相关的开发包,有不同版本的 SDK 及其源码文档等,注意:必须下载 Extras 下的 Android Support Repository 包。这个过程中,你也会遇到一个 * 烦,你注意底部的状态栏就会发现,需要从 google 下载很多包,极有可能遇到卡住不动的情况,没什么好办法,要么买 VPN, 要么更改 hosts 文件。我的 hosts 文件如下:
127.0.0.1 localhost
127.0.1.1 minamoto-Lenovo
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
# Google page
203.208.46.146 www.google.com
74.125.113.121 developer.android.com
203.208.51.71 dl.google.com
# 203.208.46.146 dl-ssl.google.com
74.125.237.1 dl-ssl.google.com
上面的 IP 地址从网上百度得来的,以上地址暂时好用,强烈推荐 超级PING 获得 IP。
下载 Android Studio,参照1中的中文官网地址,下载后解压( 设 Android Studio 目录为 $AS_HOME ),进入 $AS_HOME/bin/ 运行 ./studio.sh 进入安装导航。安装结束,创建项目前,打开 Configure-->Project Defaults-->Project Structure-->SDK Location,设置 SDK 路径。
没有成功使用模拟器,不知道时太慢,还是有什么安装问题,启动模拟器,电脑直接卡死了,动不了。于是我就使用了一个不用的 Android 真机。
以上所述是小编给大家介绍的Ubuntu16.04 LTS 下安装 Android Studio 2.2.2 的详细步骤网站的支持!
来源:http://www.cnblogs.com/minamotoasahi/archive/2016/11/15/android_install.html
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
C语言实现两个矩阵相乘
![](https://img.aspxhome.com/file/2023/6/103076_0s.png)
Java代码精简之道(推荐)
Unity实现跑马灯抽奖效果
![](https://img.aspxhome.com/file/2023/4/67054_0s.jpg)
C#通过属性名字符串获取、设置对象属性值操作示例
sqlite数据库的介绍与java操作sqlite的实例讲解
Java实现AOP面向切面编程的实例教程
C# 绘制统计图大全(柱状图, 折线图, 扇形图)
![](https://img.aspxhome.com/file/2023/0/108690_0s.png)
C语言头文件<string.h>函数详解
![](https://img.aspxhome.com/file/2023/2/105162_0s.png)
Java+Nginx实现POP、IMAP、SMTP邮箱代理服务
![](https://img.aspxhome.com/file/2023/7/59327_0s.jpg)
C#/VB.NET中从 PDF 文档中提取所有表格
![](https://img.aspxhome.com/file/2023/7/94557_0s.png)
C语言字符串另类用法的实现
java 线程方法join简单用法实例总结
使用Springboot封装一个自适配的数据单位转换工具类
![](https://img.aspxhome.com/file/2023/8/72348_0s.jpg)
java.text.DecimalFormat用法详解
![](https://img.aspxhome.com/file/2023/9/61249_0s.jpg)
SpringBoot整合RocketMQ的详细过程
![](https://img.aspxhome.com/file/2023/6/60256_0s.jpg)
安卓(Android)游戏开发音效代码
SpringMVC MVC架构与Servlet使用详解
![](https://img.aspxhome.com/file/2023/1/61301_0s.png)
Java聊天室之使用Socket实现通信功能
![](https://img.aspxhome.com/file/2023/7/69117_0s.png)
详解Java高级特性之反射
使用Stargate访问K8ssandra的过程之Springboot整合Cassandra
![](https://img.aspxhome.com/file/2023/0/67170_0s.jpg)