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
{{ message }}
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.important.mobilepro.dev, PID: 14913
java.lang.IllegalStateException: invalid native peer
at com.mapbox.mapboxsdk.snapshotter.MapSnapshotter.nativeAddLayerAbove(Native Method)
at com.mapbox.mapboxsdk.snapshotter.MapSnapshotter.addLayerAbove(MapSnapshotter.java:515)
at com.mapbox.mapboxsdk.snapshotter.MapSnapshotter.onDidFinishLoadingStyle(MapSnapshotter.java:785)
at com.mapbox.mapboxsdk.snapshotter.MapSnapshotter.nativeInitialize(Native Method)
at com.mapbox.mapboxsdk.snapshotter.MapSnapshotter.<init>(MapSnapshotter.java:424)
at ...createSnapshot(MapComponent.kt:370)
I tried with withLayers etc, other layer id, all result the same.
Without the withLayer, the snapshot doesn't render the navigation layer, nor the car icon.
What does the invalid native peer mean?
The text was updated successfully, but these errors were encountered:
Hi,
I am using mapbox-navigation-android with mapsnapshotter. I would like to add the navigation layers, but it drops "invalid native peer"
Sample code:
The crash:
I tried with withLayers etc, other layer id, all result the same.
Without the withLayer, the snapshot doesn't render the navigation layer, nor the car icon.
What does the invalid native peer mean?
The text was updated successfully, but these errors were encountered: