Centos7软件安装系列【二十一】安装android打包环境

下载地址:

https://developer.android.google.cn/studio

下载指定文件:

Centos7软件安装系列【二十一】安装android打包环境

命令如下:

mkdir -p /data-scm/app/android-home

cd /data-scm/app/android-home

wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip

unzip sdk-tools-linux-4333796.zip

mv tools/ android-tools

echo "export ANDROID_HOME=/data-scm/app/android-home" >> /etc/profile

echo "export PATH=\$PATH:\$ANDROID_HOME/android-tools:\$ANDROID_HOME/android-tools/bin:\$ANDROID_HOME/platform-tools" >> /etc/profile

source /etc/profile

mkdir android-sdk

cd android-sdk

sdkmanager "build-tools;19.1.0"

sdkmanager "build-tools;20.0.0"

sdkmanager "build-tools;21.1.2"

sdkmanager "build-tools;22.0.1"

sdkmanager "build-tools;23.0.1"

sdkmanager "build-tools;23.0.3"

sdkmanager "build-tools;24.0.0"

sdkmanager "build-tools;24.0.1"

sdkmanager "build-tools;24.0.2"

sdkmanager "build-tools;24.0.3"

sdkmanager "build-tools;25.0.0"

sdkmanager "build-tools;25.0.1"

sdkmanager "build-tools;25.0.2"

sdkmanager "build-tools;25.0.3"

sdkmanager "build-tools;26.0.0"

sdkmanager "build-tools;26.0.1"

sdkmanager "build-tools;26.0.2"

sdkmanager "build-tools;26.0.3"

sdkmanager "build-tools;27.0.0"

sdkmanager "build-tools;27.0.1"

sdkmanager "build-tools;27.0.2"

sdkmanager "build-tools;27.0.3"

sdkmanager "build-tools;28.0.0"

sdkmanager "build-tools;28.0.1"

sdkmanager "build-tools;28.0.2"

sdkmanager "build-tools;28.0.3"

sdkmanager "platform-tools"

sdkmanager "platforms;android-10"

sdkmanager "platforms;android-11"

sdkmanager "platforms;android-12"

sdkmanager "platforms;android-13"

sdkmanager "platforms;android-14"

sdkmanager "platforms;android-15"

sdkmanager "platforms;android-16"

sdkmanager "platforms;android-17"

sdkmanager "platforms;android-18"

sdkmanager "platforms;android-19"

sdkmanager "platforms;android-20"

sdkmanager "platforms;android-21"

sdkmanager "platforms;android-22"

sdkmanager "platforms;android-23"

sdkmanager "platforms;android-24"

sdkmanager "platforms;android-25"

sdkmanager "platforms;android-26"

sdkmanager "platforms;android-27"

sdkmanager "platforms;android-28"

cd /data-scm/app/

wget https://services.gradle.org/distributions/gradle-4.4-bin.zip

unzip gradle-4.4-bin.zip

echo "export GRADLE_HOME=/data-scm/app/gradle-4.4" >> /etc/profile

echo "export PATH=\$PATH:\$GRADLE_HOME/bin" >> /etc/profile

source /etc/profile

 

 

 

 

 

以上是 Centos7软件安装系列【二十一】安装android打包环境 的全部内容, 来源链接: utcz.com/a/69621.html

回到顶部