How to install Android Studio on Ubuntu?

前端 未结 17 1319
情深已故
情深已故 2020-11-30 20:38

I have to install Android Studio on Ubuntu and I have used this link to download Android Studio.

Is there any easy way to install Studio on Ubuntu?

17条回答
  •  执念已碎
    2020-11-30 21:03

    Here's how I installed android studio on xubuntu.

    1. Install JDK:

    Go through following commands to install jdk

    sudo add-apt-repository ppa:webupd8team/java
    sudo apt-get update
    sudo apt-get install oracle-java7-installer
    sudo apt-get install oracle-java7-set-default
    

    If you want to install other version of jdk than replace your version number with 7 in last two commands.

    2. Download the latest android studio from official site: https://developer.android.com/studio/index.html

    It is better to use latest version of android studio because I tried to install version 1.5.1 and it was not working. Then I installed version 2.1.1 and it run perfectly.

    1. Extract downloaded android studio file in whichever folder you want. Now go to extracted android studio-->bin directory and open terminal here. Now run following:

      ./studio.sh

    And that's it. If you are facing any problem than comment below.

提交回复
热议问题