googlemaps / googlemaps/flutter-navigation-sdk

Issue with Duplicate the class

Open
#247 20 comments 1 reaction 1 assignee Claimed by @jokerttu View on GitHub
priority: p2 type: question
Dominant language
Dart
Stars
75
Forks
54
Avg merge
4d 2h
Merged PRs (30d)
5

Description

Hello,

We are using google maps and google naviation for our app but are getting this error Duplicate class com.google.android.gms.maps.model.VisibleRegion found in modules jetified-navigation-6.0.0-runtime (com.google.android.libraries.navigation:navigation:6.0.0) and jetified-play-services-maps-18.2.0-runtime (com.google.android.gms:play-services-maps:18.2.0) It looks a conflict between both packages.

I already have updated them on the build.gradle and also forced to use all same version but still getting same issue

`dependencies {
implementation "androidx.core:core-ktx:1.12.0"
implementation "com.google.android.gms:play-services-maps:18.2.0"
implementation "com.google.android.gms:play-services-location:21.0.1"
}
configurations.all {
resolutionStrategy {
force "com.google.android.gms:play-services-maps:18.2.0"
force "com.google.android.gms:play-services-location:21.0.1"
}
}`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.