flutter-mapbox-gl / maps

A Mapbox GL flutter package for creating custom maps
Other
1.03k stars 498 forks source link

Duplicate class com.mapbox.android.core.permissions.PermissionsListener found in modules jetified-common-24.2.3-runtime (com.mapbox.common:common:24.2.3) and jetified-mapbox-android-core-5.0.0-runtime (com.mapbox.mapboxsdk:mapbox-android-core:5.0.0) #1414

Closed Abhiabhi07 closed 1 month ago

Abhiabhi07 commented 4 months ago

This is the full error what iam getting is.

Execution failed for task ':app:checkDebugDuplicateClasses'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable Duplicate class com.mapbox.android.core.permissions.PermissionsListener found in modules jetified-common-24.2.3-runtime (com.mapbox.common:common:24.2.3) and jetified-mapbox-android-core-5.0.0-runtime (com.mapbox.mapboxsdk:mapbox-android-core:5.0.0) Duplicate class com.mapbox.android.core.permissions.PermissionsManager found in modules jetified-common-24.2.3-runtime (com.mapbox.common:common:24.2.3) and jetified-mapbox-android-core-5.0.0-runtime (com.mapbox.mapboxsdk:mapbox-android-core:5.0.0) Duplicate class com.mapbox.android.core.permissions.PermissionsManager$AccuracyAuthorization found in modules jetified-common-24.2.3-runtime (com.mapbox.common:common:24.2.3) and jetified-mapbox-android-core-5.0.0-runtime (com.mapbox.mapboxsdk:mapbox-android-core:5.0.0)

 Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.

can you please explain me what is it causing the error and the solution in detail please.

thank you

stale[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.