mapbox / mapbox/mapbox-maps-flutter
Conflict issue.
Nessuno ha ancora preso questa issue.
- Lingua principale
- Dart
- Stelle
- 380
- Fork
- 204
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hello ,
I hope you are doing well. I'm implementing mapbox_map_flutter package in flutter. It's working fine.
But when I add another package flutter_mapbox_navigation then create conflict. I'm paste the error.
---> show me this error
Execution failed for task ':app:checkDebugDuplicateClasses'.
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class com.mapbox.common.module.okhttp.CallbackWrapper found in modules jetified-common-24.3.1-runtime (com.mapbox.common:common:24.3.1) and jetified-okhttp-23.8.0-runtime (com.mapbox.common:okhttp:23.8.0)
Duplicate class com.mapbox.common.module.okhttp.CallbackWrapper$RequestCallback found in modules jetified-common-24.3.1-runtime (com.mapbox.common:common:24.3.1) and jetified-okhttp-23.8.0-runtime (com.mapbox.common:okhttp:23.8.0)
Duplicate class com.mapbox.common.module.okhttp.HttpCallback found in modules jetified-common-24.3.1-runtime (com.mapbox.common:common:24.3.1) and jetified-okhttp-23.8.0-runtime (com.mapbox.common:okhttp:23.8.0)
Duplicate class com.mapbox.common.module.okhttp.IdGenerator found in modules jetified-common-24.3.1-runtime (com.mapbox.common:common:24.3.1) and jetified-okhttp-23.8.0-runtime (com.mapbox.common:okhttp:23.8.0)
Duplicate class com.mapbox.common.module.okhttp.LazyClient found in modules jetified-common-24.3.1-runtime (com.mapbox.common:common:24.3.1) and jetified-okhttp-23.8.0-runtime (com.mapbox.common:okhttp:23.8.0)
Duplicate class com.mapbox.common.module.okhttp.MapboxOkHttpService found in modules jetified-common-24.3.1-runtime (com.mapbox.common:common:24.3.1) and jetified-okhttp-23.8.0-runtime (com.mapbox.common:okhttp:23.8.0)
Duplicate class com.mapbox.common.module.okhttp.MapboxOkHttpService$1 found in modules jetified-common-24.3.1-runtime (com.mapbox.common:common:24.3.1) and jetified-okhttp-23.8.0-runtime (com.mapbox.common:okhttp:23.8.0)
Duplicate class com.mapbox.common.module.okhttp.MapboxOkHttpService$HttpServiceGetLifecycleStateCallback found in modules jetified-common-24.3.1-runtime (com.mapbox.common:common:24.3.1) and jetified-okhttp-23.8.0-runtime (com.mapbox.common:okhttp:23.8.0)
Duplicate class com.mapbox.common.module.okhttp.MapboxOkHttpService$HttpServiceLifecycleObserver found in modules jetified-common-24.3.1-runtime (com.mapbox.common:common:24.3.1) and jetified-okhttp-23.8.0-runtime (com.mapbox.common:okhttp:23.8.0)
Duplicate class com.mapbox.common.module.okhttp.MapboxOkHttpService$HttpServiceOfflineSwitchObserver found in modules jetified-common-24.3.1-runtime (com.mapbox.common:common:24.3.1) and jetified-okhttp-23.8.0-runtime (com.mapbox.common:okhttp:23.8.0)
Ping : jahan665577@gmail.com
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo la build Android con mapbox_map_flutter e flutter_mapbox_navigation abilitati, quindi esamina le classi duplicate segnalate provenienti da com.mapbox.common:common:24.3.1 e com.mapbox.common:okhttp:23.8.0. Il lavoro è completato quando il progetto viene compilato senza errori checkDebugDuplicateClasses, mantenendo utilizzabili entrambi i package.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- android, dart, flutter
- Ambito
- build-system, mobile-dev
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100