3步解决AS提示:Compilation is not supported for following modules
16lz
2021-01-23
问题:
Compilation is not supported for following modules: 【YourProject】-phone-lib. Unfortunately you can’t have non-Gradle Java modules and Android-Gradle modules in one project
解决方案:
1、打开modules.xml文件(位置:根目录.idea\modules.xml)
2、删除提示的、不存在的module配置并保存
3、重新打开项目即可
出现原因:
【可能】【也许】是暴力删除(直接去根目录强制删除)项目中某个module,配置没删干净。
更多相关文章
- android一些重要开源项目
- android > 页面加载中,友情提示界面
- android新建项目报关于progurad.xml不存在错误
- Android 开源项目集合
- Android项目开发注意事项
- Android Studio下项目编译出错could not find com.android.tools
- 导入android studio 项目错误:Error:(1, 0) Plugin with id 'com.
- android studio第一个项目hello world之AndroidManifest.xml内容
- Android ADT_20新建项目Android Support library not installed