Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Crash when using android.uid.system #738

Description

@RoProducts

Hi,

we want to use the Mapbox Android Maps SDK in a custom Android image as a system app using android:sharedUserId="android.uid.system"

Environment

  • Android OS version: 5.1
  • Maps SDK Version: 9.6.2

Observed behavior and steps to reproduce

We would expect the SDK to work, but when using the above mentioned flag the app crashes :

2022-02-16 05:14:50.660 30100-30100/ch.jespr.jespr E/ACRA: ACRA caught a RuntimeException for ch.jespr.jespr java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: androidx.startup.StartupException: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/priv-app/Jespr/Jespr.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]] couldn't find "libmapbox-common.so"
[...]
Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1763 android.content.ContextWrapper.bindService:539 com.mapbox.android.telemetry.provider.MapboxTelemetryInitProvider.onCreate:69

Is this a known issue. May an update to SDK v10 help? Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🪲Something isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions