設置Android Studio只需點擊幾下鼠標。
在Android Studio下載完成時,請驗證您的JDK版本是哪個版本:打開命令行並輸入javac -version。如果JDK是不可用或版本低於1.8,下載Java SE開發工具包8
要在Linux上安裝Android Studio中,步驟如下:
Unpack the .zip file you downloaded to an appropriate location for your applications, such as within /usr/local/ for your user profile, or /opt/ for shared users.
To launch Android Studio, open a terminal, navigate to the android-studio/bin/ directory, and execute studio.sh.
Tip: Add android-studio/bin/ to your PATH environment variable so you can start Android Studio from any directory.
Select whether you want to import previous Android Studio settings or not, then click OK.
The Android Studio Setup Wizard guides you though the rest of the setup, which includes downloading Android SDK components that are required for development.
注意:如果你正在運行Ubuntu的64位版本,你需要安裝一些32位庫使用以下命令:
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
如果您正在運行64位的Fedora,命令是:
sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686
爲您詳細介紹: https://storage.googleapis.com/androiddevelopers/videos/studio-install-linux.mp4
你試過'openjdk'? – Shark
是的,可能會解決問題 –
好吧讓我試試,我目前安裝了sun java。 –