CentOS命令行安装 Android SDK 和 Android NDK

Android SDK

Android SDK 官方主页:https://developer.android.com/studio/index.html

# wget https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip
# unzip -q -d ./ sdk-tools-linux-3859397.zip
# cd tools
# bin/sdkmanager --help
# bin/sdkmanager --list
# bin/sdkmanager --sdk_root=/data/Android/Android-Sdk "build-tools;27.0.3"
# bin/sdkmanager --sdk_root=/data/Android/Android-Sdk "platforms;android-26" "platforms;android-27"
# bin/sdkmanager --sdk_root=/data/Android/Android-Sdk "extras;android;m2repository"
# bin/sdkmanager --update --sdk_root=/data/Android/Android-Sdk

Android NDK

Android NDK 官方主页:https://developer.android.com/ndk/downloads/index.html

# wget https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip
# mkdir Android-Ndk
# unzip -q -d ./Android-Ndk/ android-ndk-r16b-linux-x86_64.zip
# /data/Android/Android-Ndk/android-ndk-r16b/ndk-build -version
GNU Make 3.82
Built for x86_64-redhat-linux-gnu
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

版权声明:
作者:Joe.Ye
链接:https://www.appblog.cn/index.php/2023/03/12/centos-command-line-install-android-sdk-and-android-ndk/
来源:APP全栈技术分享
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
打赏
海报
CentOS命令行安装 Android SDK 和 Android NDK
Android SDK Android SDK 官方主页:https://developer.android.com/studio/index.html # wget https://dl.google.com/android/repository/sdk-tools-linux-3……
<<上一篇
下一篇>>
文章目录
关闭
目 录