首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >Android Genymotion VM logcat陷入无限循环

Android Genymotion VM logcat陷入无限循环
EN

Stack Overflow用户
提问于 2014-11-10 12:39:19
回答 2查看 9.1K关注 0票数 16

每当我在Genymotion (V2.3)模拟器(任何安卓版本)上运行我的应用程序时,它都会进入无限循环,并在logcat中连续打印以下错误:

代码语言:javascript
复制
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)

我的应用程序运行良好,但我无法在logcat中打印任何内容,甚至无法读取其中的任何其他内容,以防出现任何异常。我不知道这是怎么回事,也不知道是什么原因造成的。我试着在网上找,但一无所获。

更新:我意识到每当我在活动中显示横幅广告(来自Google admob sdk或Leadbolt sdk)时,就会发生这种情况。

有什么建议或建议吗?

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2016-08-27 09:01:28

这样就可以了。忽略这些消息。

根本原因是选中了Genymotion中的"USE GPU Host“或类似选项。如果禁用此选项,错误将消失,但性能不佳。(或者更糟)

请参阅:How to solve webview error

票数 1
EN

Stack Overflow用户

发布于 2014-11-21 00:25:26

我认为你的genymotion模拟器没有访问主机gpu.Since的权限,你的页面有一些图形,Open GL将无法工作。

您可以通过在AndroidManifest.xml中添加android:hardwareAccelerated="false"来解决此问题

票数 7
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26836858

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档