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
If any of the above answers worked for you and you are sure that your branch is clean then close your Android Studio, browse to the root of your project and delete .idea folder. Then re-launch Android studio and run your project.
.idea