Unsupported Modules Detected in Android Studio

  1. File -> Invalidate Caches / Restart.

    • Close the project and Android Studio.
    • Remove the .idea directory and all .iml files.
    • Reopen Android Studio and import your project.

If it doesn't help could you please try to reproduce this issue on the empty project and let me know about results.

https://res.cloudinary.com/dimaslanjaka/image/fetch/https://techcrunch.com/wp-content/uploads/2017/02/android-studio-logo.png?w=730&crop=1