Android studio Error “Unsupported Modules Detected: Compilation is not supported for following modules”
1- close the project 2- close Android Studio IDE 3- delete the .idea directory located inside the project folder 4- delete all .iml files 5- open Android Studio IDE and import the project