简体   繁体   English

Google Play服务错误 - 错误报告难以理解

[英]Google Play Services Error - Bug report Incomprehensible

I have released an alpha version of my app with Google Play services. 我已经使用Google Play服务发布了我的应用的alpha版本。 However, I have encountered this error when I tested the app on a phone with Google Play services. 但是,当我在使用Google Play服务的手机上测试应用时,我遇到了此错误。 I hadn't got this error during compilation or running the app on a phone with an out of date Google Play Service. 我在编辑过程中没有遇到此错误,或者在使用过时Google Play服务的手机上运行应用程序时出现此错误。 I Googled this error and in stack overflow but it didn't give me much answer. 我用Google搜索了这个错误并在堆栈溢出但它没有给我太多答案。 If anyone have any idea, please help. 如果有人有任何想法,请帮助。

By the way, I didn't enable pro-guard, so that isn't a problem 顺便说一句,我没有启用pro-guard,所以这不是问题

Here is the bug report: 这是错误报告:

java.lang.IllegalStateException: A fatal developer error has occurred.
Check the logs for further information.
at com.google.android.gms.internal.jl$h.b(Unknown Source)
at com.google.android.gms.internal.jl$h.g(Unknown Source)
at com.google.android.gms.internal.jl$b.hy(Unknown Source)
at com.google.android.gms.internal.jl$a.handleMessage(Unknown Source)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:153)
at android.app.ActivityThread.main(ActivityThread.java:5338)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at dalvik.system.NativeStart.main(Native Method)

By the way, I use LibGdx, and I used google play services for leader boards, a achievements. 顺便说一下,我使用LibGdx,并且我使用google play服务作为排行榜,取得了成就。 I have followed this tutorial but it didn't help me much. 我已经按照教程,但它对我没什么帮助。 Thanks in advance 提前致谢

I forgot to post the answer after I solved the problem several months ago! 几个月前我解决了问题后,我忘记发布答案!

The problem was an extra space in the ID of the leaderboard. 问题是排行榜的ID中有一个额外的空间。

Supposed that my leaderboard ID is "as129sadf92349dsfaj". 假设我的排行榜ID是“as129sadf92349dsfaj”。

I wrote "as129sadf92349dsfaj ". 我写了“as129sadf92349dsfaj”。

So google play services gave me this error. 所以谷歌播放服务给了我这个错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM