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

前端 未结 25 2453
孤独总比滥情好
孤独总比滥情好 2020-12-12 10:29

I have an IntelliJ 14.1.2 Project consisting of two modules - one is an Android Gradle based module and the other is a Spring Java-based module with Maven.

gps-track

25条回答
  •  庸人自扰
    2020-12-12 11:06

    1. Go to File -> Invalidate Caches/Restart.
    2. Close the project.
    3. Go to project folder and delete .idea folder.
    4. Delete YourProjectName.iml in project folder.
    5. Delete app.iml in app folder.
    6. Open Android studio -> open existing project, and then select your project.
    7. The Load Settings error and Unsupported modules detected error will be gone.

提交回复
热议问题