AndroidStudio编译项目时报错:Unsupported Modules Detected: Compilation is not supported for following modules: base. Unfortunately you can't have non-Gradle Java modules and Android-Gradle modules in one project.
重启AndroidStudio 重新编译也没用,查资料和尝试了一些方法,解决方案:删除项目根目录.idea文件,重启AndroidStudio,然后发现可以正常编译和运行

本文介绍了解决在AndroidStudio中同时使用非GradleJava模块和AndroidGradle模块导致的UnsupportedModulesDetected错误的方法。通过删除项目根目录下的.idea文件并重启AndroidStudio,可以恢复正常编译和运行。
604

被折叠的 条评论
为什么被折叠?



