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

前端 未结 25 2496
孤独总比滥情好
孤独总比滥情好 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 10:52

    This solution worked for me Android Studio 3.3.2.

    1. Delete the .iml file from the project directory.
    2. In android studio File->invalidate caches/restart.
    3. Clean and Rebuild project if the auto build throws error.

提交回复
热议问题