Install Gradle:
1. Download the Gradle Package
Go here to download the required tar.gz package: https://services.gradle.org/distributions/
2. Unzip
Tar zxvf gradle.tar.gz
3. Move to/usr/local/
MV Gradle/usr/local/gradle
4. Configuring/etc/profile Environment variables
Vim/etc/profile Add the following content
Export Gradle_home=/usr/local/gradle
Export Path=${java_home}/bin:${jre_home}/bin:${gradle_home}/bin
To install the JDK:
1. Download the JDK Package
Go here to download the required tar.gz package: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
2. Unzip
Tar zxvf jdk.tar.gz
3. Move to/usr/local/java
MV Jkd/usr/local/java
4. Configuring/etc/profile Environment variables
Export java_home=/usr/local/java/jdk1.8.0_111
Export Jre_home= $JAVA _home/jre
Export classpath= $JAVA _home/lib: $JAVA _home/jre/lib
Export path= $JAVA _home/bin: $JRE _home/bin
To install the Android SDK:
1. Download the Android SDK
Download sdk,:http://developer.android.com/sdk/index.html
2. Because the SDK has only 32 bits, if it is a 64-bit system, install Ia32-libs, run the 32-bit program
Yum Install glibc.i686
3. After the download is complete, unzip the terminal into the root directory of the SDK and execute: Tools/android Update SDK--no-ui
4. Configuring/etc/profile Environment variables
Export Android_home=/usr/local/android-sdk-linux
Export Path=${android_home}/tools:${path}:${android_home}/platform-tools: $PATH
5. In Terminal input: Android, if the Android SDK Manager window comes out, it proves the environment is configured successfully
6. Enter the $sdk_home/toos directory and run the command window:./android avd (optional operation)
Automated compilation scripts upload later
Linux installation Configuration APK Packager Gradle+jdk+android_sdk+python automated compilation scripts