Related to Error: Unfortunately you can't have non-Gradle Java modules and > Android-Gradle modules in one project
I upgraded gradle from version 3.5.3
to 3.6.2
today in my Android Java project, and now I get this error:
Unsupported Modules Detected
Compilation is not supported for following modules: NameOfMyApp, app. Unfortunately you can't have non-Gradle Java modules and Android-Gradle modules in one project.
Unfortunately, I tried every solution in the linked question, but nothing worked. I still get this error. It seems like my project compiles and works just fine though. However, this error is annoying... continually popping up.
Anyone know how to fix it? I only started having this issue since the upgrade of Android Studio, gradle, and other updates recently pushed out.
Follow these steps one by one to solve the error.
Note- If .iml and .idea files are not visible then press Command, shift and > buttons together when you are inside your Application folder
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With