linux配置gradle+android

useradd android
cd /home/android
wget gradle
wget sdkmanager


sdkmanager .......

vi /etc/profile
source /etc/profile

  

参考https://*.com/questions/4681697/is-there-a-way-to-automate-the-android-sdk-installation

 

1.安装gradle 参考:https://gradle.org/install/

yum install zip
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install gradle 6.2.2


which gradle
/home/android/.sdkman/candidates/gradle/current/bin/gradle

  

linux配置gradle+android

上一篇:异常解决:Mapped Statements collection does not contain value for …


下一篇:Boston和MIT研究人员利用脑电信号实时控制机器人