-
-
Notifications
You must be signed in to change notification settings - Fork 851
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Execution failed for task ':rnmapbox_maps:compileDebugKotlin' #3480
Comments
It sounds strange as TODO is in Kotlin stdlib. https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-t-o-d-o.html Most likely the root cause is that you have Kotlin 1.7.1 and @rnmapbox/maps uses libs that were built using kotlin 1.9
See https://github.com/rnmapbox/maps/pull/3465/files You might be able to work around that using
Add this to your andorid/build.gradle file after |
This is what I'm running and it's working:
"@rnmapbox/maps": "^10.1.21", |
I created a bare Expo project and just installed the @rnmapbox/maps package and setup the download key. Upon running the dev build (npx expo run:android), it's still throwing this error. Mapbox Version: 10.1.30 My build.gradle file looks like this
|
@Syed-Anas-Ahmed Did you ever figure this out? i have the same versioning as you and running into the same error |
@tdavis10 Downgraded to 10.1.29 and it works |
I tried all the mentioned solutions in this discussion and nothing worked. still have the same error. |
Is 10.1.29 not working too? |
yes I tried it also didn't work |
finally it's worked on 10.1.31-rc.1 |
Upgrade to 10.1.31 and it works |
Oh thanks, upgrading to 10.1.31 works for me also |
果然,升级到 10.1.31 也对我有用 |
buildscript { allprojects { apply plugin: "com.facebook.react.rootproject" "dependencies": { still i'm getting same issue => > Task :rnmapbox_maps:compileDebugKotlin FAILED |
Mapbox Implementation
Mapbox
Mapbox Version
10.17.0
React Native Version
0.72.7
Platform
Android
@rnmapbox/maps
version10.1.21
Standalone component to reproduce
Observed behavior and steps to reproduce
Good day, in an attempt to run my project on android after updating to the 10.1.21 version, I get this error rnmapbox_maps:compileDebugKotlin: failed. I was wondering what the workaround fix for this might be. From what I can see the latest update is related to the PrivacyInfo files for the IOS build where I have no issues, but android does not seem to like them.
Expected behavior
No response
Notes / preliminary analysis
No response
Additional links and references
No response
The text was updated successfully, but these errors were encountered: