homeeondemand/react-native-mapbox-navigation

compileSdkVersion is not specified. Please add it to build.gradle

Arnab2021 opened this issue · 7 comments

I have created a fresh project. with the mapbox navigation pavkage.
my package.json-
image

I have followed all the installation instruction...
but while building im getting the following error.
image

Please help me....

It seems that this library doesn't build with latest version of react-native it is working on version 0.66.1 but it fails in build when I update my react-native version to 0.67.1

I have the same issue. I tried to put in the sdkMinVersion myself, but then I got bombed with more errors, anyone got a solution for RN 0.67.1? Downgrading is not an option for me.

It seems that this library doesn't build with latest version of react-native it is working on version 0.66.1 but it fails in build when I update my react-native version to 0.67.1

Yes it worked ! thanks....
But downgrading it not the solution so if you have another idea please provide...

This is because starting with react-native version 0.67.0 they are using Gradle 7

In Gradle 7 they remove support for maven plugin (which is used now) and instead require you to use maven-publish plugin. So changes will have to be made to jive with the newest version of Gradle.

This is because starting with react-native version 0.67.0 they are using Gradle 7

In Gradle 7 they remove support for maven plugin (which is used now) and instead require you to use maven-publish plugin. So changes will have to be made to jive with the newest version of Gradle.

Hi @gciluffo @Arnab2021 @C0dekid @adoniscoder , sorry for troubling you guys. I was wondering if you guys have figured out a way to avoid tolls (paid highways) while navigating using this library? I have difficulty doing that, any help will be appreciated.

Hi @gciluffo @Arnab2021 @C0dekid @adoniscoder , sorry for troubling you guys. I was wondering if you guys have figured out a way to avoid tolls (paid highways) while navigating using this library? I have difficulty doing that, any help will be appreciated.

No problem. But I stopped using this library as I couldn't get it to work. I have no idea how to avoid paid highways / tolls. Not sure if that's supported in this library or you have to change some settings in MapBox.

Is there a fix for this for latest React native version?