Configuration with name 'default' not found. Android Studio

后端 未结 13 1752
独厮守ぢ
独厮守ぢ 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:17

    The message is a known Gradle bug. The reason of your error is that some of your gradle.build files has no apply plugin: 'java' in it. And due to the bug Gradle doesn't say you, where is the problem.

    But you can easily overcome it. Simply put apply plugin: 'java' in every your 'gradle.build'

提交回复
热议问题