You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to solve this issue but to no success. I have tried all the suggested methods and solution. None works. Been trying to compile on Expo EAS. This is the error keep getting.
Hey @frankloginss If you're encountering issues with the original version, I'd like to invite you to try my fork of React Native Mapbox Navigation. I've made some enhancements and fixes that might address your concerns. You can easily install it using npm with the following command:
I have been trying to solve this issue but to no success. I have tried all the suggested methods and solution. None works. Been trying to compile on Expo EAS. This is the error keep getting.
[stderr]
FAILURE:
[stderr]
Build failed with an exception.
[stderr]
[stderr]
Build file '/home/expo/workingdir/build/node_modules/@sqware/react-native-mapbox-navigation/android/build.gradle' line: 142
[stderr]
[stderr]
A problem occurred configuring project ':sqware_react-native-mapbox-navigation'.
[stderr]
[stderr]
[stderr]
Required by:
[stderr]
project :sqware_react-native-mapbox-navigation
[stderr]
> Cannot choose between the following variants of com.facebook.react:react-android:0.71.3:
[stderr]
- debugVariantDefaultRuntimePublication
[stderr]
- releaseVariantDefaultRuntimePublication
[stderr]
All of them match the consumer attributes:
[stderr]
[stderr]
- Unmatched attributes:
[stderr]
- Provides
[stderr]
com.android.build.api.attributes.BuildTypeAttr 'debug' but the consumer didn't ask for it
[stderr]
- Provides org.gradle.category 'library' but the consumer didn't ask for it
[stderr]
[stderr]
- Provides
[stderr]
org.gradle.libraryelements 'aar' but the consumer didn't ask for it
[stderr]
- Provides org.gradle.status 'release' but the consumer didn't ask for it
[stderr]
- Provides org.gradle.usage 'java-runtime' but the consumer didn't ask for it
[stderr]
- Variant 'releaseVariantDefaultRuntimePublication' capability com.facebook.react:react-android:0.71.3:
[stderr]
- Unmatched attributes:
[stderr]
- Provides com.android.build.api.attributes.BuildTypeAttr 'release' but the consumer didn't ask for it
[stderr]
- Provides org.gradle.category 'library' but the consumer didn't ask for it
[stderr]
- Provides org.gradle.dependency.bundling 'external'
[stderr]
but the consumer didn't ask for it
[stderr]
- Provides org.gradle.libraryelements 'aar' but the consumer didn't ask for it
[stderr]
- Provides org.gradle.status 'release' but the consumer didn't ask for it
[stderr]
- Provides org.gradle.usage 'java-runtime' but the consumer didn't ask for it
[stderr]
[stderr]
[stderr]
[stderr]
[stderr]
[stderr]
BUILD FAILED in 2m 59s
5 actionable tasks: 5 executed
Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.
I seriously need help here. I will be grateful.
The text was updated successfully, but these errors were encountered: