Linux installation Configuration APK Packager Gradle+jdk+android_sdk+python automated compilation scripts

Source: Internet
Author: User
Tags android sdk manager

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

Related Article

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.