【发布时间】:2020-08-07 08:34:06
【问题描述】:
我在我的应用程序中使用了 Google Maps SDK (v2),今天突然它开始崩溃并出现以下崩溃消息:
2020-04-24 02:26:40.874 22678-22758/com.**.**E/AndroidRuntime: FATAL EXCEPTION: androidmapsapi-ZoomTableManager
Process: com.**.**, PID: 22678
java.lang.ArrayIndexOutOfBoundsException: length=1; index=12
at com.google.maps.api.android.lib6.gmm6.vector.ct.<init>(:com.google.android.gms.dynamite_mapsdynamite@201216081@20.12.16 (120400-0):9)
at com.google.maps.api.android.lib6.gmm6.vector.cv.a(:com.google.android.gms.dynamite_mapsdynamite@201216081@20.12.16 (120400-0):23)
at com.google.maps.api.android.lib6.gmm6.util.m.run(:com.google.android.gms.dynamite_mapsdynamite@201216081@20.12.16 (120400-0):14)
at java.lang.Thread.run(Thread.java:919)
以前有没有人遇到过这个问题。如果获得帮助以解决此致命异常问题将非常有帮助。
【问题讨论】:
-
我正在观察同样的问题。
-
这是 Google Maps API 的内部错误,我们无能为力。我们应该等待。 stackoverflow.com/questions/61396588/…
-
只需放入 Application.onCreate(): SharedPreferences googleBug = getSharedPreferences("google_bug_154855417", Context.MODE_PRIVATE); if (!googleBug.contains("fixed")) { 文件损坏ZoomTables = new File(getFilesDir(), "ZoomTables.data");损坏的ZoomTables.delete(); googleBug.edit().putBoolean("fixed", true).apply(); }
标签: android google-maps android-maps-v2