Open trinhminhhieu opened 5 months ago
did you solve the problem?
Hello,
Me fetching the same error
Execution failed for task ':app:checkDebugDuplicateClasses'.
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk8-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10) Duplicate class kotlin.internal.jdk7.JDK7PlatformImplementations found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk7-1.7.10 (org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10)
And when i remove this library
flutter_mapbox_navigation: ^0.2.2
then resolve my problem but i want show the navigation view in the mapbox then how to showing that without using flutter_mapbox_navigation this library???
Use the official package mapbox_maps_flutter: ^0.6.0
instead of mapbox_gl
, and ensure you're using version ^0.6.0
of mapbox_maps_flutter
. This package will handle everything you need from mapbox_gl
.
Execution failed for task ':app:checkDebugDuplicateClasses'.
Removing flutter_mapbox_navigation solves the problem, but I can't use turn by turn