溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

ubuntu下如何安裝配置AndroidStudio4

發(fā)布時間:2022-10-27 09:24:31 來源:億速云 閱讀:186 作者:iii 欄目:服務(wù)器

本篇內(nèi)容主要講解“ubuntu下如何安裝配置AndroidStudio4”,感興趣的朋友不妨來看看。本文介紹的方法操作簡單快捷,實用性強。下面就讓小編來帶大家學(xué)習(xí)“ubuntu下如何安裝配置AndroidStudio4”吧!

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

初次安裝,沒有配置文件導(dǎo)入import;暫且不配置代理proxy(待會再配置)。

選擇custom;

ubuntu下如何安裝配置AndroidStudio4

ubuntu下如何安裝配置AndroidStudio4

我不安裝Android虛擬設(shè)備,直接用Android手機測試。

ubuntu下如何安裝配置AndroidStudio4

ubuntu下如何安裝配置AndroidStudio4


官方安裝指導(dǎo)

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.

到此,相信大家對“ubuntu下如何安裝配置AndroidStudio4”有了更深的了解,不妨來實際操作一番吧!這里是億速云網(wǎng)站,更多相關(guān)內(nèi)容可以進入相關(guān)頻道進行查詢,關(guān)注我們,繼續(xù)學(xué)習(xí)!

向AI問一下細節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI