Error: Unfortunately you can't have non-Gradle Java modules and > Android-Gradle modules in one project
If you encounter this error in Android Studio when trying to run an android application after freshly importing a project. You just have to delete the following files and directories:
.idea
directory.iml
files
Once you delete these files and directories, re-open your project and it should work.