Error : Program type already present: android.support.design.widget.CoordinatorLayout$Behavior

前端 未结 22 1599
不知归路
不知归路 2020-11-27 14:04

I am getting the following error while building the project. haven\'t used CoordinatorLayout in this project. just added as a dependency in build.gradle :

I am usin

22条回答
  •  Happy的楠姐
    2020-11-27 14:18

    This can happens when one library is loaded into gradle several times. Most often through other connected libraries.

    Remove a implementation this library in build.gradle

    Then Build -> Clear project

    and you can run the assembly)

提交回复
热议问题