报错详情:
Compilation is not supported for following modules,........,Unfortunately you can’t have non-Gradle Java modules and Android-Gradle modules in one project
解决方法1:
Android Studio的 File菜单--> Invalidate Caches / Restart...
操作截图如下图所示
如果上面的方式不行,请使用方式2:
解决方式2:
删除项目中的.idea文件夹,然后重启。
操作如下图:
---- The End.