Failed to find provider com.google.android.gsf.gservices for user 0; expected to find a valid ContentProvider for this authority

See original GitHub issue

It’s my build.gradle

    implementation 'com.google.android.gms:play-services-base:15.0.1'
    implementation 'com.google.android.gms:play-services-maps:15.0.1'
    implementation 'com.google.android.gms:play-services-analytics:16.0.0'
    implementation 'com.google.firebase:firebase-core:16.0.0'
    implementation 'com.google.firebase:firebase-analytics:16.0.0'
    implementation 'com.google.firebase:firebase-messaging:17.0.0'
    implementation 'com.google.firebase:firebase-crash:16.0.0'
    implementation 'com.google.firebase:firebase-perf:16.0.0'

and my android os verdion is android 8.0.0 (huawei), without google service

and then:

com.google.android.gms.internal.measurement.zzxz: com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0. at com.google.android.gms.internal.measurement.zzxy.zzsw(Unknown Source:50) at com.google.firebase.crash.zzc.zzsu(Unknown Source:33) at com.google.firebase.crash.zzd.call(Unknown Source:2) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at java.lang.Thread.run(Thread.java:784)

java.lang.SecurityException: Failed to find provider com.google.android.gsf.gservices for user 0; expected to find a valid ContentProvider for this authority at android.os.Parcel.readException(Parcel.java:1945) at android.os.Parcel.readException(Parcel.java:1891) at android.content.IContentService$Stub$Proxy.registerContentObserver(IContentService.java:768) at android.content.ContentResolver.registerContentObserver(ContentResolver.java:1964) at android.content.ContentResolver.registerContentObserver(ContentResolver.java:1953) at com.google.android.gms.internal.firebase-perf.zza.zza(Unknown Source:38) at com.google.android.gms.internal.firebase-perf.zzq.<init>(Unknown Source:145) at com.google.android.gms.internal.firebase-perf.zzg.zzp(Unknown Source:127) at com.google.android.gms.internal.firebase-perf.zzg.zzb(Unknown Source:0) at com.google.android.gms.internal.firebase-perf.zzh.run(Unknown Source:2) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at java.lang.Thread.run(Thread.java:784)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

11reactions
MMarco94commented, Jun 22, 2018

I think that the correct behavior for analytics and messaging would be to just do nothing, without crashing

9reactions
samtsterncommented, Jun 15, 2018

@LiuDongCai that’s not possible right now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android OREO - java.lang.SecurityException: Failed to find ...
Android OREO - java.lang.SecurityException: Failed to find provider for user 0; expected to find a valid ContentProvider for this authority.
Read more >
Failed to find provider com.google.android.gsf.gservices for ...
Failed to find provider com.google.android.gsf.gservices for user 0; expected to find a valid ContentProvider for this authority.
Read more >
Unable to add Google account in Android 13 AAOS built ...
... Failed to find provider com.google.android.gsf.gservices for user 0; expected to find a valid ContentProvider for this authority
Read more >
Gcam not working | XDA Forums
... Failed to find provider com.google.android.gsf.gservices for user 0; expected to find a valid ContentProvider for this authority
Read more >
Securityexception: Failed To Find Provider Null For User 0
Error running example code Message: Failed to find provider com.google.android.gms.phenotype for user 0; expected to find a valid ContentProvider for.etc.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found