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
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
The default JDK in Ubuntu is the Open JDK, and testing will be incompatible when used, so install Oracle's official JDK1.8.
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.
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
#./opt/android-studio/bin/studio.sh//You can run the program;
The next installation process looks more
, if you can access Google Server, do not look, then install it well;
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