android studio Unsupported Modules Detected: Compilation is not supported for following modules: foobar.
How to fix when this warning displays on Android Studio every time.
Unsupported Modules Detected: Compilation is not supported for following modules: common_library.
Unfortunately you can't have non-Gradle Java modules and Android-Gradle modules in one project.
Cause and solution
It’s maybe android studio’s bug.
The solution is
- Close the project.
- Close Android Studio IDE.
- Delete the .idea directory.
- Delete all .iml files.
- Open Android Studio IDE and import the project
Discussion
New Comments
No comments yet. Be the first one!