react-native-mapbox-navigation icon indicating copy to clipboard operation
react-native-mapbox-navigation copied to clipboard

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

Open Arnab2021 opened this issue 3 years ago • 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....

Arnab2021 avatar Jan 19 '22 18:01 Arnab2021

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

adoniscoder avatar Jan 21 '22 11:01 adoniscoder

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.

C0dekid avatar Jan 26 '22 17:01 C0dekid

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...

Arnab2021 avatar Jan 27 '22 03:01 Arnab2021

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.

gciluffo avatar Feb 03 '22 20:02 gciluffo

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.

nassery318 avatar Mar 03 '22 16:03 nassery318

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.

C0dekid avatar Mar 29 '22 09:03 C0dekid

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

walvekarnikhil avatar Nov 05 '22 05:11 walvekarnikhil