Skip to content
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]: MapboxLibraryLoader.load java.lang.UnsatisfiedLinkError - couldn't find "libmapbox-common.so" #3270

Closed
rizki-tabist opened this issue Dec 14, 2023 · 1 comment
Labels
Android Android related tickets bug 🪲 Something isn't working upstream the bug source is a bug in native mapbox gl

Comments

@rizki-tabist
Copy link

Mapbox Implementation

Mapbox

Mapbox Version

default

Platform

Android

@rnmapbox/maps version

^10.0.15

Standalone component to reproduce

import React from 'react';
import {
  MapView,
  ShapeSource,
  LineLayer,
  Camera,
} from '@rnmapbox/maps';

const aLine = {
  type: 'LineString',
  coordinates: [
    [-74.00597, 40.71427],
    [-74.00697, 40.71527],
  ],
};

class BugReportExample extends React.Component {
  render() {
    return (
      <MapView style={{flex: 1}}>
        <Camera centerCoordinate={[-74.00597, 40.71427]} zoomLevel={14} />
        <ShapeSource id="idStreetLayer" shape={aLine}>
          <LineLayer id="idStreetLayer" />
        </ShapeSource>
      </MapView>
    );
  }
}

Observed behavior and steps to reproduce

Sporadic crashes were reported via crashlytics when loading Mapbox libraries.
Screenshot 2023-12-14 at 09 04 03

It seems the issue comes from Mapbox Map Android itself

Expected behavior

No crash

Notes / preliminary analysis

No response

Additional links and references

Sporadic crashes when Mapbox library is loaded: java.lang.UnsatisfiedLinkError at com.mapbox.common.loader.MapboxLibraryLoader.load #1109

@rizki-tabist rizki-tabist added the bug 🪲 Something isn't working label Dec 14, 2023
@mfazekas mfazekas added upstream the bug source is a bug in native mapbox gl Android Android related tickets labels Dec 14, 2023
@mfazekas
Copy link
Contributor

Thanks much for the info.
The issue is not really actionable for us, hopefully it'll be fixed in upstream mapbox-maps-android

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Android related tickets bug 🪲 Something isn't working upstream the bug source is a bug in native mapbox gl
Projects
None yet
Development

No branches or pull requests

2 participants