Configuration with name 'default' not found. Android Studio

后端 未结 13 1914
独厮守ぢ
独厮守ぢ 2020-11-27 05:44

I have an Android Studio app. It has a library dependency (Android-Bootstrap), when I try to sync gradle, it gives me an error:

Configuration with nam

13条回答
  •  误落风尘
    2020-11-27 06:25

    I had this issue with Jenkins. The cause: I had renamed a module module to Module. I found out that git had gotten confused somehow and kept both module and Module directories, with the contents spread between both folders. The build.gradle was kept in module but the module's name was Module so it was unable to find the default configuration.

    I fixed it by backing up the contents of Module, manually deleting module folder from the repo and restoring + pushing the lost files.

提交回复
热议问题