I had this problem for a while and was able to solve it myself.
If in opening your project in Android Studio and something similar to this error message pops up:
in Terminal navigate to your project directory, and run these
rm -rf .idea rm *.iml
then go into your app directory and do that same thing as above.
Finally, "File" -> "New" -> "Import", this should solve the corruption.