Genymotion 型号:Google Nexus 5-6.0.0-API 23 -1080x1920
点击切换主题,会崩溃,打印的log如下:
03-24 04:21:07.592 14230-14259/in.srain.demos.vector W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xe99eb680, error=EGL_SUCCESS
03-24 04:21:12.028 14230-14259/in.srain.demos.vector E/Surface: getSlotFromBufferLocked: unknown buffer: 0xe8e371c0
03-24 04:21:12.046 14230-14259/in.srain.demos.vector E/Surface: queueBuffer: error queuing buffer to SurfaceTexture, -19
03-24 04:21:12.047 14230-14259/in.srain.demos.vector E/EGL_emulation: tid 14259: swapBuffers(288): error 0x3003 (EGL_BAD_ALLOC)
03-24 04:21:12.047 14230-14259/in.srain.demos.vector A/OpenGLRenderer: Encountered EGL error 12291 EGL_BAD_ALLOC during rendering
03-24 04:21:12.047 14230-14259/in.srain.demos.vector A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 14259 (RenderThread)
还没有在真机上试过,不知道是不是就这款模拟器有问题,秋哥可以试试