Android studio Error "Unsupported Modules Detected: Compilation is not supported for following modules"

sappu picture sappu · Feb 23, 2015 · Viewed 189.8k times · Source

I am using Android studio 1.0.1. I have a java module referred by other modules in my project. I have checked it out from SVN But now every

Unsupported Modules Detected: Compilation is not supported for following modules: . Unfortunately you can't have non-Gradle Java modules and Android-Gradle modules in one project.

After getting this error AS stop compilation of this module so that I am not able to compile/run my project any more.

Answer

Shady Mohamed Sherif picture Shady Mohamed Sherif · Mar 21, 2018

1- close the project

2- close Android Studio IDE

3- delete the .idea directory

4- delete all .iml files

5- open Android Studio IDE and import the project