java.lang.SecurityException: attempting to read gservices without permission

android, google-play-services, java

Solution

This issue was introduced with the latest release of the Google Play Services (v4.3) on the android devices. Google is aware about it and it will be fixed in a future version (not the next one...)

https://groups.google.com/forum/#!topic/google-admob-ads-sdk/sePctoDJbRg%5B101-125-false%5D

Problem

I have recently changed from `adMob 6.4.1` to Google Play Services `rev 15` and have just received notice of a new crash report that I do not understand: ``` java.lang.SecurityException: attempting to read gservices without permission: Neither user 10158 nor current process has com.google.android.providers.gsf.permission.READ_GSERVICES. at android.os.Parcel.readException(Parcel.java:1425) at android.os.Parcel.readException(Parcel.java:1379) at xs.a(SourceFile:133) at xo.a(SourceFile:133) at xo.a(SourceFile:118) at ud.d(SourceFile:88) at ud.b(SourceFile:129) at ua.a(SourceFile:239) at ua.a(SourceFile:176) at aas.a(SourceFile:118) at abz.run(SourceFile:14) at acb.run(SourceFile:30) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) at java.lang.Thread.run(Thread.java:856) ``` I did some research, and all the results are either outdated, or are related to Google+ / Google Maps, neither of which I use in the app. I've never read anywhere in the GPS Developer guide for adMob that I needed to add the `READ GSERVICES` permission... Anyone know what this is about?

Original source