IntelliJ and Android Gradle dependencies - unable to find module

前端 未结 4 2188
没有蜡笔的小新
没有蜡笔的小新 2021-01-01 21:12

I have following directory structure:

D:\\PROJECT  
+---javaGradleProject1  
+---javaGradleProject2  
+---javaGradleProject3  
\\---AndroidProject  
    |          


        
4条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-01 21:39

    I was able to solve this by deleting the settings.gradle file from every Gradle project that I wanted to use as dependency (clearing the contents of this file was not enough).

    NOTE: As I have little knowledge of Gradle and Android Studio, I cannot provide information about why the presence of this file does not allow Android Studio to include the Gradle project as a module.

提交回复
热议问题