rnmapbox_maps:compileDebugKotlin FAILED #4284
Replies: 2 comments
|
To have tem local fix you can navigate to the following file and add the code same as in the following PR: File location: |
|
Thanks for the report. I reproduced this on a fresh RN 0.87.0 app (Kotlin 2.2.0, Gradle 9.4.1, AGP 9.2.1): #4297 fixes it by skipping the image when the bitmap is null. #4299 changes the same line with On AGP 9 you also need #4282, which replaces |
Uh oh!
There was an error while loading. Please reload this page.
Environment
On a freshly initialised RN project I can't get beyond this when trying to build in Android Studio.
e: file:///D:/apps/sample/node_modules/@rnmapbox/maps/android/src/main/java/com/rnmapbox/rnmbx/utils/DownloadMapImageTask.kt:80:56 Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'Bitmap?'.
All reactions