Skip to content Skip to sidebar Skip to footer

Instant App Crashing On Adview.loadad, Securityexception: Failed To Find Provider Com.google.android.gsf.gservices

I'm using play services ads 10.2.6 and it works just fine with the installed app. Here's the stacktrace: java.lang.SecurityException: Failed to find provider com.google.android.gs

Solution 1:

I'm using play services ads 10.2.6

Always make sure you are using the latest library versions.

Please update to the latest version, it's currently at 11.0.2.

Firebase Android Release Notes

Solution 2:

AFAIK, there are existing issues based from this GitHub post and also filed in issue tracker. See if your encountered issue is related to any of these and follow the given workaround (if there is).

On a side note, since SecurityException crash is usually due to reading gservices without permission. You may want to also try requesting permissions at Run Time.

If you haven't done so, note that on all versions of Android, your app needs to declare two categories of system permissions, normal and dangerous permissions, in its app manifest. Check declaring permissions for more information.

Post a Comment for "Instant App Crashing On Adview.loadad, Securityexception: Failed To Find Provider Com.google.android.gsf.gservices"