Latest Android Studio Canary build:1.0 Release candidate 1
Http://tools.android.com/download/studio/canary/latest
Https://dl.google.com/dl/android/studio/ide-zips/1.0.0-rc1/android-studio-ide-135.1598475-linux.zip
Can also find here Baidu Network disk
Https://github.com/inferjay/AndroidDevTools
http://www.androiddevtools.cn/
Unzip-x Android-studio-ide-135.1598475-linux.zip (64-bit, not as ADT, 32 and 64 versions) 32-bit systems seem to need to change parameters
CD android-studio/
To configure environment variables:
To start Android Studio, the order to find Java is:
STUDIO_JDK, Jdk_home, java_home, you can configure any one of them.
That is, the following three ways can be
Export studio_jdk=/opt/jdk1.7.0_71
Export jdk_home=/opt/jdk1.7.0_71
Export java_home=/opt/jdk1.7.0_71
If none are configured, the startup script automatically determines the Java installation path (in which Java)
My settings are:
export java_home=/opt/jdk1.7.0_71 only need to set this on, the following two lines are optional
Export path= $JAVA _home/bin: $PATH
Export classpath=.: $JAVA _home/jre/lib/rt.jar: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
Access to the Java download page:
Http://www.oracle.com/technetwork/java/javase/downloads/index.html
Java 7 download page, u71/u72
Http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
Java 8 download page, U25
Http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Older versions of Java 8 download page, to 8u20
Http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html
Older versions of Java 7 download page, to 7u67
Http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html
Older versions of Java 6 download page, to 6u45
Http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html
Older versions of Java 5 download page, to 5.0u22
Http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase5-419410.html
Http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase14-419411.html
Http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase13-419413.html
Http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase12-419414.html
Http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase11-419415.html
Start:
bin/studio.sh
First boot will be installed first,
The configuration file is installed in: ~/. androidstudio/
During the installation process, the downloaded SDK is in: ~/android/sdk/
Requirements for the Java version:
starting with the latest Android 5.0, you need to install JDK 1.7 to compile properly
JDK 1.6 required from Android 2.3.1 to Android 4.4W
2.3 and lower versions need to use JDK 1.5
Https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels
Platform Version API level Version_code Notes
# # # using JDK 1.7 # # #
Android 5.0 LOLLIPOP Platform Highlights
# # # using JDK 1.6 # # #
Android 4.4W Kitkat_watch KITKAT for wearables only
Android 4.4 KITKAT Platform Highlights
Android 4.3 jelly_bean_mr2 Platform Highlights
Android 4.2, 4.2.2 JELLY_BEAN_MR1 Platform Highlights
Android 4.1, 4.1.1 Jelly_bean Platform Highlights
Android 4.0.3, 4.0.4 ice_cream_sandwich_mr1 Platform Highlights
Android 4.0, 4.0.1, 4.0.2 Ice_cream_sandwich
Android 3.2 HONEYCOMB_MR2
Android 3.1.x honeycomb_mr1 Platform Highlights
Android 3.0.x Honeycomb Platform Highlights
Android 2.3.4
Android 2.3.3 GINGERBREAD_MR1 Platform Highlights
Android 2.3.2
Android 2.3.1
# # # Use jdk1.5 # # #
Android 2.3 9 Gingerbread
Android 2.2.x 8 FROYO Platform Highlights
Android 2.1.x 7 eclair_mr1 Platform Highlights
Android 2.0.1 6 Eclair_0_1
Android 2.0 5 Eclair
Android 1.6 4 Donut Platform Highlights
Android 1.5 3 Cupcake Platform Highlights
Android 1.1 2 Base_1_1
Android 1.0 1 BASE
Https://source.android.com/source/initializing.html
Installing the JDK
The master branch of Android in the Android Open Source Project (AOSP) requires Java 7. On Ubuntu, use OpenJDK.
Java 7:for The latest version of Android
$ sudo apt-get update
$ sudo apt-get install OPENJDK-7-JDK
Optionally, update the default Java version by running:
$ sudo update-alternatives--config java
$ sudo update-alternatives--config javac
If you are encounter version errors for Java, set it path as described in the wrong Java version section.
To develop older versions of Android, download and install the corresponding version of the Java JDK:
Java 6:for Gingerbread through KitKat
Java 5:for cupcake through Froyo
Note:the Lunch command in the build step would ensure that the Sun JDK was used instead of any previously installed JDK.
Installation of a candidate version of Android Studio 1.0 under Linux