I have this ignore file , but it does not work , every time we commit and cached file is pushed
# Built application files
*.apk
*.aar
*.ap_
*.aab
# Files for the ART/Dalvik VM
*.dex
# Java class files
*.class
# Generated files
bin/
gen/
out/
# Uncomment the following line in case you need and you don't have the release build type files in your app
# release/
# Gradle files
.gradle/
build/
strong text [1]: https://i.stack.imgur.com/EaZ9J.png