Android Studio 错误“检测到不支持的模块:以下模块不支持编译"
问题描述:
我使用的是 Android Studio 1.0.1.我的项目中有一个由其他模块引用的 java 模块.我已经从 SVN 中检查出来了,但现在每个
I am using Android studio 1.0.1. I have a java module referred by other modules in my project. I have checked it out from SVN But now every
检测到不支持的模块:以下模块不支持编译:.不幸的是,您不能在一个项目中包含非 Gradle Java 模块和 Android-Gradle 模块.
收到此错误后,停止编译此模块,以便我无法再编译/运行我的项目.
After getting this error AS stop compilation of this module so that I am not able to compile/run my project any more.
答
1-关闭项目
2- 关闭 Android Studio
IDE
3-删除位于项目文件夹内的.idea
目录
3- delete the .idea
directory located inside the project folder
4- 删除所有.iml
文件
5- 打开 Android Studio
IDE 并导入项目
5- open Android Studio
IDE and import the project