【发布时间】:2017-04-06 14:11:52
【问题描述】:
我一直在为我的应用程序使用MapView,它运行良好。突然,当使用我的应用程序时,它崩溃并出现以下错误
04-06 14:03:45.084 6969-7008/info.tommarsh.testmap E/EGL_emulation: rcCreateContext returned 0
04-06 14:03:45.084 6969-7008/info.tommarsh.testmap E/EGL_emulation: tid 7008: eglCreateContext(1284): error 0x3003 (EGL_BAD_ALLOC)
04-06 14:03:45.085 6969-7008/info.tommarsh.testmap E/AndroidRuntime: FATAL EXCEPTION: GLThread 185
Process: info.tommarsh.testmap, PID: 6969
java.lang.RuntimeException: createContext failed: 12291
at com.google.maps.api.android.lib6.gmm6.vector.bi.a(:com.google.android.gms.DynamiteModulesB:834)
at com.google.maps.api.android.lib6.gmm6.vector.bj.f(:com.google.android.gms.DynamiteModulesB:20825)
at com.google.maps.api.android.lib6.gmm6.vector.bj.run(:com.google.android.gms.DynamiteModulesB:881)
现在,每次我输入使用MapView 的片段或活动时,都会发生完全相同的错误。有几点需要注意:
- 这发生在我尝试过的每个模拟器上(x86 和 x86_64 ABI)
- 尝试启动
MapFragment时也会发生这种情况 - 我使用的是地图 10.2.1 版
任何帮助表示赞赏!
【问题讨论】:
-
请发布整个 Logcat 错误
标签: android google-maps google-maps-api-3