怎么安装配置Android Studio

发布时间:2022-04-07 17:01:51 作者:iii
来源:亿速云 阅读:200

这篇文章主要介绍“怎么安装配置Android Studio”的相关知识,小编通过实际案例向大家展示操作过程,操作方法简单快捷,实用性强,希望这篇“怎么安装配置Android Studio”文章能帮助大家解决问题。

1.下载安装的压缩包:

wget https://redirector.gvt1.com/edgedl/android/studio/ide-zips/4.1.0.16/android-studio-ide-201.6719854-linux.tar.gz

2.解压:

tar -xzf android-studio-ide-201.6719854-linux.tar.gz

3.运行安装脚本

cd "你的AndroidStudio解压路径"/bin
 ./studio.sh

初次安装,没有配置文件导入import;暂且不配置代理proxy(待会再配置)。

选择custom;

怎么安装配置Android Studio

怎么安装配置Android Studio

我不安装Android虚拟设备,直接用Android手机测试。

怎么安装配置Android Studio

怎么安装配置Android Studio


官方安装指导

INSTALLATION INSTRUCTIONS
===============================================================================

  1. Unpack the Android Studio distribution archive that you downloaded
     where you wish to install the program. We will refer to this
     location as your {installation home}.

  2. To start the application, open a console, cd into "{installation home}/bin" and type:

       ./studio.sh

     This will initialize various configuration files in the configuration directory:
     ~/.config/Google/AndroidStudio4.1.

  3. [OPTIONAL] Add "{installation home}/bin" to your PATH environment
     variable so that you can start Android Studio from any directory.

  4. [OPTIONAL] To adjust the value of the JVM heap size, create a file studio.vmoptions
     (or studio64.vmoptions if using a 64-bit JDK) in the configuration directory
     and set the -Xms and -Xmx parameters. To see how to do this,
     you can reference the vmoptions file under "{installation home}/bin" as a model
     but do not modify it, add your options to the new file.

  [OPTIONAL] Change the location of the "config" and "system" directories
  ------------------------------------------------------------------------------

  By default, Android Studio stores all your settings in the
  ~/.config/Google/AndroidStudio4.1 directory
  and uses ~/.local/share/Google/AndroidStudio4.1 as a data cache.
  To change the location of these directories:

  1. Open a console and cd into ~/.config/Google/AndroidStudio4.1

  2. Create a file idea.properties and set the idea.system.path and idea.config.path variables, for example:

     idea.system.path=~/custom/system
     idea.config.path=~/custom/config

  NOTE: Store the data cache ("system" directory) on a disk with at least 1 GB of free space.

关于“怎么安装配置Android Studio”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识,可以关注亿速云行业资讯频道,小编每天都会为大家更新不同的知识点。

推荐阅读:
  1. Android Studio 安装配置详细步骤,以及使用的基本操作
  2. Android Studio安装配置

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

android studio

上一篇:linux如何查看jdk是32位还是64位的

下一篇:ionic怎么监听android返回键实现再按一次退出功能

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》