android - 在某些 com.google.android.gms.* 模块中崩溃
问题描述
我用最新的(2018 年 11 月 13 日)Google Play 服务模块更新了我的统一游戏。现在,我在我的游戏控制台中看到了崩溃:
java.lang.Error: FATAL EXCEPTION [main]
Unity version : 2018.3.0b10
Device model : samsung SM-A520F
Device fingerprint: samsung/a5y17ltexx/a5y17lte:8.0.0/R16NW/A520FXXU7CRJA:user/release-keys
Caused by
at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:4126)
at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4092)
at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4066)
at android.app.ActivityThread.handlePauseActivity (ActivityThread.java:4040)
at android.app.ActivityThread.-wrap16 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1708)
at android.os.Handler.dispatchMessage (Handler.java:105)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:6944)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)
Caused by: java.util.ConcurrentModificationException:
at i.put (com.google.android.gms.dynamite_measurementdynamite@14574051@14.5.74 (040408-219897028):101)
at fo.a (com.google.android.gms.dynamite_measurementdynamite@14574051@14.5.74 (040408-219897028):44)
at fm.onActivityPaused (com.google.android.gms.dynamite_measurementdynamite@14574051@14.5.74 (040408-219897028):53)
at android.app.Application.dispatchActivityPaused (Application.java:249)
at android.app.Activity.onPause (Activity.java:1734)
at com.unity3d.player.UnityPlayerActivity.onPause (Unknown Source)
at android.app.Activity.performPause (Activity.java:7408)
at android.app.Instrumentation.callActivityOnPause (Instrumentation.java:1414)
at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:4115)
我猜这个错误是在模块方面,因为我没有在旧版本上看到它。
解决方案
推荐阅读
- c# - 无法将整数文本文件读入整数数组
- javascript - 如何在 Enter 按键上操作列表元素
- collision-detection - 如何获得与 SAT 的碰撞点
- php - 我如何解决这个 Cors 问题。我真的被困住了
- c# - 如何更改 C# 表单中的标签文本
- c# - 为什么在单元测试控制器方法时未初始化 IObjectMapper?
- react-native - 如何在 React Native 中优化图像并查看最新的 iPhone 机型
- c# - 通过 SceneManager 加载菜单
- r - 使用变量向量重命名数据框
- django - Django:通过表单向另一台服务器发送发布请求