Android Studio 看不到module 或者报些莫名其妙的错误,可以尝试着这个方法

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

这个错误的解决步骤

  1.  close the project

  2. close Android Studio IDE

  3. delete the .idea directory

  4. delete all .iml files

  5. open Android Studio IDE and import the project


错误的原因分析