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:
You can't import a module if you've put the code for the module in the place it will end up being copied to. I had the module source code placed in the project root folder and it failed to import with the above message. If you move the code away somewhere, on import Android Studio will copy the code in.