首页 > 解决方案 > 在某些 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)

我猜这个错误是在模块方面,因为我没有在旧版本上看到它。

标签: androidunity3dcrashcrash-reportsandroid-gps

解决方案


推荐阅读