gpt4 book ai didi

android - Instant app 在 adview.loadAd 上崩溃,SecurityException : Failed to find provider com. google.android.gsf.gservices

转载 作者:行者123 更新时间:2023-11-30 00:27:26 28 4
gpt4 key购买 nike

我使用的是 play services ads 10.2.6,它与安装的应用程序配合得很好。

这是堆栈跟踪:

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.app.ActivityThread.performLaunchActivity(ActivityThread.java:2817)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
Caused by: 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:1948)
at android.os.Parcel.readException(Parcel.java:1894)
at android.content.IContentService$Stub$Proxy.registerContentObserver(IContentService.java:768)
at android.content.ContentResolver.registerContentObserver(ContentResolver.java:1924)
at android.content.ContentResolver.registerContentObserver(ContentResolver.java:1913)
at zh.a(:com.google.android.gms.DynamiteModulesA:7)
at zh.a(:com.google.android.gms.DynamiteModulesA:84)
at jg.<init>(:com.google.android.gms.DynamiteModulesA:14)
at jf.<init>(:com.google.android.gms.DynamiteModulesA:1)
at com.google.android.gms.ads.clearcut.a.<init>(:com.google.android.gms.DynamiteModulesA:6)
at com.google.android.gms.ads.internal.ag.a(:com.google.android.gms.DynamiteModulesA:1)
at com.google.android.gms.ads.ChimeraAdManagerCreatorImpl.newAdManagerByType(:com.google.android.gms.DynamiteModulesA:17)
at com.google.android.gms.ads.internal.client.an.onTransact(:com.google.android.gms.DynamiteModulesA:63)
at android.os.Binder.transact(Binder.java:604)
at com.google.android.gms.ads.internal.client.ak.newAdManagerByType(:com.google.android.gms:3)
at com.google.android.gms.ads.AdManagerCreatorImpl.newAdManagerByType(:com.google.android.gms:12)
at com.google.android.gms.ads.internal.client.aj.onTransact(:com.google.android.gms:32)
at android.os.Binder.transact(Binder.java:604)
at com.google.android.gms.internal.zzeu$zza$zza.zza(Unknown Source:56)
at com.google.android.gms.internal.zzeb.zza(Unknown Source:17)
at com.google.android.gms.internal.zzek$1.zzeI(Unknown Source:15)
at com.google.android.gms.internal.zzek$1.zzeJ(Unknown Source:0)
at com.google.android.gms.internal.zzek$zza.zzeR(Unknown Source:0)
at com.google.android.gms.internal.zzek.zza(Unknown Source:32)
at com.google.android.gms.internal.zzek.zza(Unknown Source:11)
at com.google.android.gms.internal.zzff.zzfj(Unknown Source:39)
at com.google.android.gms.internal.zzff.zzfi(Unknown Source:21)
at com.google.android.gms.internal.zzff.zza(Unknown Source:4)
at com.google.android.gms.ads.BaseAdView.loadAd(Unknown Source:6)
at com.google.android.gms.ads.AdView.loadAd(Unknown Source:0)
at <activity_name>.loadAdView(<activity_name>.java:2416)

最佳答案

I'm using play services ads 10.2.6

始终确保您使用的是最新的库版本。

请更新到最新版本,目前为 11.0.2。

Firebase Android Release Notes

关于android - Instant app 在 adview.loadAd 上崩溃,SecurityException : Failed to find provider com. google.android.gsf.gservices,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45089070/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com