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

Crash when using android.uid.system #738

Open
RoProducts opened this issue Apr 28, 2022 · 0 comments
Open

Crash when using android.uid.system #738

RoProducts opened this issue Apr 28, 2022 · 0 comments
Labels
bug 🪲 Something isn't working

Comments

@RoProducts
Copy link

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

@RoProducts RoProducts added the bug 🪲 Something isn't working label Apr 28, 2022
@RoProducts RoProducts changed the title Crash when using system.uid Crash when using android.uid.system Apr 28, 2022
@ZiZasaurus ZiZasaurus transferred this issue from mapbox/mapbox-maps-android Jul 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug 🪲 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant