每当我在Genymotion(V2.3)仿真器(任何Android版本)上运行我的应用程序时,它都会无限循环,并在logcat中不断打印此错误:
11-10 04:33:55.542: E/eglCodecCommon(2775): **** ERROR unknown type 0x0 (glSizeof,73)
11-10 04:33:55.902: E/eglCodecCommon(2775): **** ERROR unknown type 0x0 (glSizeof,73)
11-10 04:33:55.962: E/eglCodecCommon(2775): **** ERROR unknown type 0x0 (glSizeof,73)
11-10 04:33:56.014: E/eglCodecCommon(2775): **** ERROR unknown type 0x0 (glSizeof,73)
11-10 04:33:56.066: E/eglCodecCommon(2775): **** ERROR unknown type 0x0 (glSizeof,73)
11-10 04:33:56.114: E/eglCodecCommon(2775): **** ERROR unknown type 0x0 (glSizeof,73)
11-10 04:33:56.166: E/eglCodecCommon(2775): **** ERROR unknown type 0x0 (glSizeof,73)
11-10 04:33:56.210: E/eglCodecCommon(2775): **** ERROR unknown type 0x0 (glSizeof,73)
11-10 04:33:56.266: E/eglCodecCommon(2775): **** ERROR unknown type 0x0 (glSizeof,73)
11-10 04:33:56.314: E/eglCodecCommon(2775): **** ERROR unknown type 0x0 (glSizeof,73)
11-10 04:33:56.362: E/eglCodecCommon(2775): **** ERROR unknown type 0x0 (glSizeof,73)
11-10 04:33:56.410: E/eglCodecCommon(2775): **** ERROR unknown type 0x0 (glSizeof,73)
11-10 04:33:56.470: E/eglCodecCommon(2775): **** ERROR unknown type 0x0 (glSizeof,73)
11-10 04:33:56.518: E/eglCodecCommon(2775): **** ERROR unknown type 0x0 (glSizeof,73)
11-10 04:33:56.562: E/eglCodecCommon(2775): **** ERROR unknown type 0x0 (glSizeof,73)
11-10 04:33:56.614: E/eglCodecCommon(2775): **** ERROR unknown type 0x0 (glSizeof,73)
11-10 04:33:56.662: E/eglCodecCommon(2775): **** ERROR unknown type 0x0 (glSizeof,73)
11-10 04:33:56.714: E/eglCodecCommon(2775): **** ERROR unknown type 0x0 (glSizeof,73)
11-10 04:33:56.750: E/eglCodecCommon(2775): **** ERROR unknown type 0x0 (glSizeof,73)
发布于 2018-04-09 15:40:44
我认为你的genymotion模拟器不能访问主机gpu。由于你的页面有一些图形,Open GL将不起作用。
你可以通过android:hardwareAccelerated="false"
在AndroidManifest.xml中添加来解决此问题。
发布于 2018-04-09 16:42:35
根本原因是由于在Genymotion中检查了“USE GPU主机”或类似的选项。如果禁用此选项,错误将消失,但性能不佳。
https://stackoverflow.com/questions/-100004374
复制相似问题