I was trying to add a dependency to my application and I accidentally modified the wrong build.gradle file and now my application no longer builds correctly.
This is my
In Android Studio menu: Go to File -> Invalidate caches / restart
IMPORTANT NOTE: Take into account that it will also clear "Local History" if it's important to you.