I have encountered a problem in Android Studio and I need to be able to:
delete the .idea directory
delete all .iml files
I'm not sure of where the .idea directory is located or where the .iml files are stored on mac.
The .idea folder is in the top level folder of your project, but it's hidden because it starts with a dot.
You can see it by performing an ls -a
(for "show all files") in the Terminal in that folder (Command+Drag the folder into the Terminal to open that folder in the Terminal).
You can also enable showing hidden files in Finder.