I work in Intellij IDEA, but my computer freezes so I turn off my computer. (long click power button) When I turned on computer and start IntelliJ IDEA I had this error:
I had the same problem when Windows crashed while Android Studio was on. I followed the following steps :-
.idea directory outside the project folder. Note : Do not delete the .idea directory inside the project folder. The .idea directory which you have to delete will contain some .iml files.