Working with \"Cxense SDK for Android\", I\'m getting the message of duplicated class:
Duplicate class android.support.v4.app.INotification
If there are duplicates, use exclude
:
implementation ('com.cxpublic:cxense-android:1.0.1') {
exclude group: "com.android.support", module: "support-v4"
}
Or remove implementation 'com.android.support:appcompat-v7:27.1.1'
in favour of support-v4
.
See: https://discuss.gradle.org/t/how-do-i-exclude-specific-transitive-dependencies-of-something-i-depend-on/17991