0
点赞
收藏
分享

微信扫一扫

AS打开项目报错:Compilation is not supported for following modules


报错

AS打开项目报错:Compilation is not supported for following modules_开发语言

Compilation is not supported for following modules:
...

Unfortunately you can't have non-Gradle Java modules and Android-Gradle modules in one project.

解决方案


  1. 删除.idea目录
  2. 删除所有的.iml文件​​find . -name "*.iml" | xargs rm -rf​
  3. 重新导入工程

关于我

厦门大学计算机专业 | 前华为工程师

分享编程技术,没啥深度,但看得懂,适合初学者。

Java | 安卓 | 前端 | 小程序 | 鸿蒙

公众号:花生皮编程

​​​​​​AS打开项目报错:Compilation is not supported for following modules_ide_02



举报

相关推荐

0 条评论