Configuration with name 'default' not found. Android Studio

后端 未结 13 1880
独厮守ぢ
独厮守ぢ 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条回答
  •  Happy的楠姐
    2020-11-27 06:17

    I am facing same problem, I was fixed it by generating gradle project and then adding lib project to android studio

    First, See build.gradle file is present in project root directory

    if not then, Create gradle project,

    1. export your required lib project from eclipse then (File->Export->Android->generate Gradle build file
    2. Click on Next->Next->Select your lib project from project listing->Next->Next->Finish
    3. See build.gradle file present in your project root directory
    4. Move this project to Android Studio

提交回复
热议问题