how to clean gradle cache in android studio code example
Example 1: how to clear cache of gradle
gradlew cleanBuildCache
Example 2: gradle cache clean
rm -rf $HOME/.gradle/caches/
gradlew cleanBuildCache
rm -rf $HOME/.gradle/caches/