SecurityException Permission Denial: opening provi

2019-01-29 15:49发布

问题:

After integrating Firebase Crashlytics instead of Firebase Crash Reporting I have begun to get some crashes.

I don't know anything about com.google.android.gms.phenotype.provider.ConfigurationProvider. What is it? And it appears on some devices (e.g. Samsung S8)

This is a stack trace:

Fatal Exception: java.lang.SecurityException
Permission Denial: opening provider com.google.android.gms.phenotype.provider.ConfigurationProvider from ProcessRecord{422f6718 20494:my.package.name/u0a95} (pid=20494, uid=10095) that is not exported from uid 10008

android.os.Parcel.readException (Parcel.java:1472)
android.os.Parcel.readException (Parcel.java:1426)
android.app.ActivityManagerProxy.getContentProvider (ActivityManagerNative.java:2937)
android.app.ActivityThread.acquireProvider (ActivityThread.java:4619)
android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider (ContextImpl.java:2303)
android.content.ContentResolver.acquireUnstableProvider (ContentResolver.java:1452)
android.content.ContentResolver.query (ContentResolver.java:446)
android.content.ContentResolver.query (ContentResolver.java:405)
com.google.android.gms.internal.zzcss.zzbcc (Unknown Source)
com.google.android.gms.internal.zzcss.zza (Unknown Source)
com.google.android.gms.internal.zzcth.zzbce (Unknown Source)
com.google.android.gms.internal.zzctg.zzdw (Unknown Source)
com.google.android.gms.internal.zzctg.zzbcf (Unknown Source)
com.google.android.gms.internal.zzctg.zzdw (Unknown Source)
com.google.android.gms.internal.zzbdr.zzbz (Unknown Source)
com.google.android.gms.internal.zzbcx.zzbf (Unknown Source)
com.google.android.gms.internal.zzeuw.zzcid (Unknown Source)
com.google.android.gms.internal.zzeuw.zzcie (Unknown Source)
com.google.android.gms.internal.zzeuw.zzcid (Unknown Source)
com.google.android.gms.internal.zzeuy.run (Unknown Source)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1112)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
java.lang.Thread.run (Thread.java:848)