mapbox / mapbox/mapbox-maps-android

Duplicate class com.mapbox.maps.plugin.compass

Open
#2,686 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged bug :beetle:
Dominant language
Kotlin
Stars
578
Forks
161
PR merge metrics
No merged PRs in 30d

Description

Duplicate class com.mapbox.android.core.permissions.PermissionsListener found in modules common-24.7.0.aar -> jetified-common-24.7.0-runtime (com.mapbox.common:common:24.7.0) and common-ndk27-24.16.1.aar -> jetified-common-ndk27-24.16.1-runtime (com.mapbox.common:common-ndk27:24.16.1)
Duplicate class com.mapbox.android.core.permissions.PermissionsManager found in modules common-24.7.0.aar -> jetified-common-24.7.0-runtime (com.mapbox.common:common:24.7.0) and common-ndk27-24.16.1.aar -> jetified-common-ndk27-24.16.1-runtime (com.mapbox.common:common-ndk27:24.16.1)
Duplicate class com.mapbox.android.core.permissions.PermissionsManager$AccuracyAuthorization found in modules common-24.7.0.aar -> jetified-common-24.7.0-runtime (com.mapbox.common:common:24.7.0) and common-ndk27-24.16.1.aar -> jetified-common-ndk27-24.16.1-runtime (com.mapbox.common:common-ndk27:24.16.1)
Duplicate class com.mapbox.android.core.permissions.PermissionsManager$Companion found in modules common-24.7.0.aar -> jetified-common-24.7.0-runtime (com.mapbox.common:common:24.7.0) and common-ndk27-24.16.1.aar -> jetified-common-ndk27-24.16.1-runtime (com.mapbox.common:common-ndk27:24.16.1)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the Gradle dependency graph for the conflicting common:24.7.0 and common-ndk27:24.16.1 artifacts, then reproduce the build failure. Determine which dependency declarations introduce both artifacts and verify that the duplicate-class errors are gone after resolving the conflict.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.