Google Maps API crashes (using Android emulator)

I used MapViewfor my application that worked great. Suddenly when using my application it crashed with the following error

  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)

Now every time I enter a fragment or operation in which it is used MapView, the same error occurs. Little to be noted:

  • This happens on every emulator I tried (both x86 and x86_64 ABI)
  • This also happens when trying to start MapFragment
  • I am using Maps version 10.2.1

Any help appreciated!

+4
source share
1 answer

, . Emulated performance. : , GLES GLES.

GLES . -map , , .

, .

+1

Source: https://habr.com/ru/post/1674215/


All Articles