how to install gradle in android studio code example
Example 1: how to upgrade gradle version in linux
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install gradle
Example 2: gradle version
$ gradle -v
------------------------------------------------------------
Gradle 6.7.1
------------------------------------------------------------