Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unsupported Modules Detected: Unfortunately you can't have non-Gradle Java modules and Android-Gradle modules in one project

Tags:

Unsupported Modules Detected: Compilation is not supported for the following

modules: MemorandamApp. Unfortunately, you can't have non-Gradle Java modules and Android-Gradle modules in one project.

This Error caused me to erase my files. Newly opened files and created files are affected by this problem.

like image 434
Madhuslin KS Avatar asked May 08 '19 07:05

Madhuslin KS


1 Answers

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

The answer is taken from HERE

like image 57
D_Alpha Avatar answered Oct 28 '22 12:10

D_Alpha