permissions-dispatcher / PermissionsDispatcher

A declarative API to handle Android runtime permissions.
https://github.com/permissions-dispatcher/PermissionsDispatcher
Apache License 2.0
11.22k stars 1.44k forks source link

android x conflict #547

Closed Chenayi closed 5 years ago

Chenayi commented 5 years ago

Tips : Program type already present: androidx.versionedparcelable.CustomVersionedParcelable

What should I do about it

hotchemi commented 5 years ago

could you elaborate more?

attifmazhar commented 5 years ago

"androidx.versionedparcelable:versionedparcelable:1.0.0" is present in "com.github.hotchemi:permissionsdispatcher:4.0.0" dependency and "androidx.versionedparcelable:versionedparcelable:28.0.0" also exist in "com.android.support:support-core-utils:28.0.0" that's why "androidx.versionedparcelable.CustomVersionedParcelable" class duplication error occurs

hotchemi commented 5 years ago

Try exclude feature of Gradle.

dependencies {
  compile('com.example.m:m:1.0') {
     exclude group: 'org.unwanted'
  }
}