Configuration with name 'default' not found while building android project on gradle

后端 未结 1 1747
名媛妹妹
名媛妹妹 2020-12-05 10:57

I am trying to import eclipse project into android studio, but its giving this error.

Could not fetch model of type \'IdeaProject\' using Gradle installation         


        
相关标签:
1条回答
  • 2020-12-05 11:30

    So, you need to make sure that each submodule in your project has its own build.gradle file. The name 'default' happens because your outer build.gradle is trying to build a project that doesn't know how to build itself, thus it is given the name 'default.' Try doing that and see what happens.

    0 讨论(0)
提交回复
热议问题