I can reproduce the issue on GrapheneOS. It launches fine on stock PixelOS.
Play services and Play Store have Network access. The app is installed from Play Store in the owner profile.
Description of the behaviour
The app crashes about 1 sec after it's launched.
Version info
App version 5.12.4
Pixel 8
GrapheneOS 2025041100
Play Store 45.4.26-31
Play services 25.10.36
Gmscompatconfig 156
Pixel 6a
PixelOS BP1A.250405.007
Steps to reproduce
- Install the app from Play Store
- Open the app
What has been attempted so far without luck
- Enabled "exploit protection compatibility mode" and Webview JIT for the app and relaunched it
- Disabled secure app spawning, disabled "exploit protection compatibility mode" for the app, rebooted the phone and relaunched the app
Log
type: crash
osVersion: google/shiba/shiba:15/BP1A.250405.007.B1/2025041100:user/release-keys
package: fr.sesamvitale.cartevitale.app:1250325005, targetSdk 34
process: fr.sesamvitale.cartevitale.app
processUptime: 316 + 62 ms
installer: com.android.vending
java.lang.RuntimeException: Unable to get provider com.google.mlkit.common.internal.MlKitInitProvider: java.lang.ArrayIndexOutOfBoundsException: length=44733573; index=-1
at android.app.ActivityThread.installProvider(ActivityThread.java:8553)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:8063)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7721)
at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2509)
at android.os.Handler.dispatchMessage(Handler.java:109)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8973)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:927)
Caused by: java.lang.ArrayIndexOutOfBoundsException: length=44733573; index=-1
at com.google.mlkit.common.internal.MlKitInitProvider.onCreate(:606)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2677)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2646)
at com.google.mlkit.common.internal.MlKitInitProvider.attachInfo(:3)
at android.app.ActivityThread.installProvider(ActivityThread.java:8548)
... 11 more