本篇內(nèi)容主要講解“ubuntu下如何安裝配置AndroidStudio4”,感興趣的朋友不妨來看看。本文介紹的方法操作簡單快捷,實(shí)用性強(qiáng)。下面就讓小編來帶大家學(xué)習(xí)“ubuntu下如何安裝配置AndroidStudio4”吧!
創(chuàng)新互聯(lián)憑借專業(yè)的設(shè)計團(tuán)隊扎實(shí)的技術(shù)支持、優(yōu)質(zhì)高效的服務(wù)意識和豐厚的資源優(yōu)勢,提供專業(yè)的網(wǎng)站策劃、成都網(wǎng)站建設(shè)、網(wǎng)站制作、網(wǎng)站優(yōu)化、軟件開發(fā)、網(wǎng)站改版等服務(wù),在成都10余年的網(wǎng)站建設(shè)設(shè)計經(jīng)驗,為成都上千多家中小型企業(yè)策劃設(shè)計了網(wǎng)站。
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.運(yùn)行安裝腳本
cd "你的AndroidStudio解壓路徑"/bin ./studio.sh
初次安裝,沒有配置文件導(dǎo)入import;暫且不配置代理proxy(待會再配置)。
選擇custom;
我不安裝Android虛擬設(shè)備,直接用Android手機(jī)測試。
官方安裝指導(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/configNOTE: Store the data cache ("system" directory) on a disk with at least 1 GB of free space.
到此,相信大家對“ubuntu下如何安裝配置AndroidStudio4”有了更深的了解,不妨來實(shí)際操作一番吧!這里是創(chuàng)新互聯(lián)網(wǎng)站,更多相關(guān)內(nèi)容可以進(jìn)入相關(guān)頻道進(jìn)行查詢,關(guān)注我們,繼續(xù)學(xué)習(xí)!