tar xzvf ~/Downloads/android-studio-bundle-130.677228-linux.tgz
sudo mv android-studio /opt/
然后开始安装:
1
2
cd android-studio/bin/
./studio.sh
可能会跑出来这句话:
1
2
3
4
5
6
7
8
9
10
11
12
13
OpenJDK Runtime Environment (IcedTea6 1.11.1)(6b24-1.11.1-4ubuntu2)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
WARNING: You are launching the IDE using OpenJDK Java runtime.
ITS KNOWN TO HAVE PERFORMANCE AND GRAPHICS ISSUES!
SWITCH TO THE ORACLE(SUN) JDK BEFORE REPORTING PROBLEMS!
NOTE: If you have both Oracle (Sun) JDK and OpenJDK installed
please validate either STUDIO_JDK, JDK_HOME, or JAVA_HOME environment variable points to valid Oracle (Sun) JDK installation.
See http://ow.ly/6TuKQ formore info on switching default JDK.
Press Enter to continue.