我最近从 adMob 6.4.1
更改为 Google Play Services rev 15
,并且刚刚收到我不理解的新崩溃报告的通知:
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)
我做了一些研究,所有结果要么已过时,要么与我在应用程序中使用的 Google+/Google map 相关。
我从来没有在 adMob 的 GPS 开发者指南中读到过我需要添加
READ GSERVICES
权限...
有人知道这是怎么回事吗?
最佳答案
Android 设备上最新版本的 Google Play 服务 (v4.3) 引入了此问题。 Google 已经意识到这一点,它将在未来的版本中得到修复(不是下一个......)
https://groups.google.com/forum/#!topic/google-admob-ads-sdk/sePctoDJbRg%5B101-125-false%5D
关于java.lang.SecurityException : attempting to read gservices without permission 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22682538/