I had successfully imported a Module in my Application project in Android Studio. Then I deleted or removed the module by following the below link:
Module
Android Studio
Switch to the Project View. Then open .idea/modules.xml. Find and delete the line that corresponds to the module. Then Invalidate Caches and Restart. That's it.
Project
.idea/modules.xml