linux配置gradle+android
useradd android cd /home/android wget gradle wget sdkmanager sdkmanager ....... vi /etc/profile source /etc/profile
参考https://stackoverflow.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