RemoteServiceException在生产版本中发生

huangapple go评论77阅读模式
英文:

RemoteServiceException occurred in production release

问题

我在谷歌Play商店上有一个应用,最近我更新了这个应用。
当我测试时,一切都很好,但是一些28及以上版本的设备在Android Vitals中显示了这个崩溃。
我在Stack Overflow上搜索了一下,但没有找到一个与我情况相关的帖子。

我试着检查了整个代码库,但是无法找出问题所在。

谷歌没有提供太多信息,但Android Vital显示了以下内容。

android.app.RemoteServiceException: 
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2141)
  at android.os.Handler.dispatchMessage (Handler.java:107)
  at android.os.Looper.loop (Looper.java:237)
  at android.app.ActivityThread.main (ActivityThread.java:8019)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1100)

提前感谢。

英文:

I have an app on Google's Play Store and recently I have updated the app.
When I tested it all was fine, but some devices API 28 and above are showing this crash in Android vitals.
I have searched Stack Overflow and didn't find one is related to my case.

I tried to check the entire code base and couldn't figure it out.

Google doesn't provide much info but Android Vital shows this.

android.app.RemoteServiceException: 
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2141)
  at android.os.Handler.dispatchMessage (Handler.java:107)
  at android.os.Looper.loop (Looper.java:237)
  at android.app.ActivityThread.main (ActivityThread.java:8019)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1100)

Thanks in advance.

答案1

得分: 0

我配置了ProGuard规则来暴露一些模型类,进展顺利。
目前为止,我没有看到任何问题。

英文:

I configured the ProGuard rule to expose some model classes and it went well.
I'm not seeing any issues so far.

huangapple
  • 本文由 发表于 2020年10月24日 05:29:30
  • 转载请务必保留本文链接:https://go.coder-hub.com/64507537.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定