Android studio 升级到3.2以后总是会有莫名的bug
今天新建项目,运行项目后提示
Compilation is not supported for following modules: xxxxxx, app.Unfortunately you can 't have non-Gradle Java modules and Android-Gradle modules in one project.
项目报红J
首先 File=>Invalidate Caches 重启一次,项目红J消失。
然后把这个选择去掉 同步一下 gradle 项目就可以正常运行了