Android studio错误“检测到不支持的模块:以下模块不支持编译”

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模块。

获取此错误后AS停止编译此模块我不能再编译/运行我的项目了。

After getting this error AS stop compilation of this module so that I am not able to compile/run my project any more.

首先,您应该更新到Android Studio 1.2
来源: https://code.google.com/p/android/issues/detail?id=77983

First of all you should update to Android Studio 1.2 Source: https://code.google.com/p/android/issues/detail?id=77983

然后你应该去File - > Invalidate Caches / Restart - > Invalidate Caches&重新开始。

Then you should go to File -> Invalidate Caches / Restart -> Invalidate Caches & Restart.

然后尝试再次构建应用程序。

Then try to build the application again.