How to install Android Studio on Ubuntu?

前端 未结 17 1249
情深已故
情深已故 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 20:52

    I was having having an issue with umake being an outdated version. What fixed it was:

    sudo apt remove --purge ubuntu-make
    sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
    sudo apt update
    sudo apt install ubuntu-make
    umake android
    
    0 讨论(0)
  • 2020-11-30 20:53

    Download the Linux SDK from the Android website. Copy the folder to whereever you want to extract the contents. Open a terminal there, and then run:

    sudo apt-get install unzip
    sudo tar xvzf android-studio-ide-135.1641136-linux.zip
    cd android-studio-ide-135.1641136-linux
    ./studio.sh
    

    JDK 1.7 is required for Studio 1.0 onwards:

    1. Download the ubuntu zip from the d.android.com and repeat the steps from above
    2. Download the jdk 1.7 by executing the following commands in terminal as mentioned webupd8:

      sudo add-apt-repository ppa:webupd8team/java
      sudo apt-get update
      sudo apt-get install oracle-java7-installer
      
    3. Open Android Studio and install the SDK tools.

    Caveats:

    1. If your system has a 32 bit processor, use Platform Tools r23.0.1. Refer to this bug for details.

    Note: If you are running a 64-bit version of Ubuntu, you need to install some 32-bit libraries with the following command:

    $ sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1
    

    Source: - linux-32-bit-libraries

    0 讨论(0)
  • 2020-11-30 20:56

    I was just investigating this issue now, you should use Ubuntu Make

    Which "is a command line tool which allows you to download the latest version of popular developer tools on your installation"

    0 讨论(0)
  • 2020-11-30 20:58

    To install android studio on ubuntu here is the simplest way possible:

    First of all, you have to install Ubuntu Make before installing Android Studio. Type following commands in the same order one by one on terminal:

    1) sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make

    2) sudo apt-get update

    3) sudo apt-get install ubuntu-make

    Now since you are done with Ubuntu make, use below command to install Android Studio:

    4) umake android

    While installation it will give you a couple of option which you can handle. So, Installation is done. You can open it and run an App of your choice. Isn’t it very easy? Let me know if you go through any problem, I can help.

    Source Install Android Studio

    0 讨论(0)
  • 2020-11-30 21:00

    Don't forget to run:

    /opt/android-studio/bin/studio.sh

    when you are done installing.

    0 讨论(0)
  • 2020-11-30 21:00

    You can also Install using a PPA link

    0 讨论(0)
提交回复
热议问题