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

标签 java android google-play-services

我最近从 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/

相关文章:

java - 在不重新启动 WebSphere 的情况下重新加载 java 类的最佳方法?

java - 将项目添加到 ListView 的中间

android - 带有旧版 Google Play 服务的 Firebase

java - 安全异常 : Binder invocation to an incorrect interface on signed APK

java - 指令重新排序和发生之前的关系

java - 在一个AsyncTask实例上多次调用execute()时,线程是否同步运行

java - 重写 Android 函数以启动 Activity 而不是显示文本

android - 将 Playstore 添加到 Android Studio 模拟器

java - 我使用 poi-scratchpad-3.2-FINAL.jar 收到配置构建路径

java - 在图像上添加标记/图钉的最佳方法是什么?