James andresakis James andresakis - 1 month ago 10
Android Question

Can you regenerate a deleted modules .iml file in android studio

I have accidentally erased one of my project modules .iml file and I was wondering if its possible to regenerate it. I have googled around for a bit but I have not seen a solution yet.

Answer

if you have not closed intellij since, locate the folder it used to be in > right click > Local history > show history. from here you should be able to restore that iml file