andremion / CounterFab

A FloatingActionButton subclass that shows a counter badge on right top corner
https://play.google.com/store/apps/details?id=com.andremion.counterfab.sample
Apache License 2.0
728 stars 112 forks source link

implementation 'com.android.support:appcompat-v7:27.1.1' is creating issues #15

Closed Bharatsingh049 closed 6 years ago

Bharatsingh049 commented 6 years ago

implementation 'com.android.support:appcompat-v7:27.1.1' is not compatible with implementation 'com.github.andremion:counterfab:1.0.1' I got an error

Program type already present: android.support.design.widget.CoordinatorLayout$Behavior Message{kind=ERROR, text=Program type already present: android.support.design.widget.CoordinatorLayout$Behavior, sources=[Unknown source file], tool name=Optional.of(D8)}

please help I have to finish it soon

andremion commented 6 years ago

Hi @Bharatsingh049 Add this to your gradle implementation 'com.android.support:design:27.1.1' This will force your design dependency to use the same version of your appcompat dependency. Let me know if it works.

andremion commented 6 years ago

Close due no response