Duplicate zip entry [classes.jar:android/support/design/widget/CoordinatorLayout$Behavior.class]

后端 未结 4 503
醉话见心
醉话见心 2020-12-01 16:29

I have following dependency and getting CoordinatorLayout$Behavior duplicate entry. I have searched so more but did not find any solution.

I am getting

4条回答
  •  情歌与酒
    2020-12-01 17:02

    I just did it like. It's working now

    Solution 1

    compile 'com.android.support:appcompat-v7:27.1.0'
    compile 'com.android.support:support-v4:27.1.0'
    compile 'com.android.support:recyclerview-v7:27.1.0'
    compile 'com.android.support:design:27.1.0'
    compile 'com.android.support:cardview-v7:27.1.0'
    

    Solution 2 (NEW)

    Migrate your code to AndroidX

提交回复
热议问题