Linux Install Android Studio detailed tutorial

Source: Internet
Author: User

Install Android Studio in detail tutorial
    • libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1
    • Jdk1.8.0_25
    • Android-studio-ide-141.2456560-linux.zip
    • Android-sdk_r24.4.1-linux.tgz
  1. The ADB program in the Android SDK is 32-bit, and the Ubuntu x64 system needs to install 32-bit library files for compatibility with 32-bit programs. If you do not install, ADB will make an error: java.io.ioexception:error=2, so install the 32-bit software Architecture Dependency package:

    sudo apt-get install-y libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1

  2. The default JDK in Ubuntu is the Open JDK, and testing will be incompatible when used, so install Oracle's official JDK1.8.

  3. Install Android Studio

    sudo apt-add-repository ppa:paolorotolo/android-studio

    sudo apt-get update

    sudo apt-get install Android-studio

    Please see https://linux.cn/article-5706-1.html for details later.

  4. The above method may not be implemented, because the domestic not connected to Google Server, you can install Android-studio, official website http://developer.android.com/sdk/index.html Download the latest version of Android studio2.0, if your Internet is not on this site,

    Unzip the android-studio-ide-141.2456560-linux.zip to/opt;

    #chmod +x-r Android-studio//Give full permission

  5. #./opt/android-studio/bin/studio.sh//You can run the program;

  6. The next installation process looks more

    , if you can access Google Server, do not look, then install it well;
  7. If you don't even have Google, download android-sdk_r24.4.1-linux.tgz,

    After extracting it to/OPT:./studio.sh After starting the program, set the default tool path (Note that the previous sdk-manager is not set, is not a point) to open Configure-->project Defaults-->projec T STRUCTURE-->SDK location, set SDK and JKD path, two paths is the other two tools just downloaded/opt/android-sdk-linux/opt/jdk1.8.0_25

    Just fine. (the link above is explained in detail)

Linux Install Android Studio detailed tutorial

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.