简体   繁体   English

调用没有当前上下文的OpenGL ES API(每个线程记录一次)

[英]call to OpenGL ES API with no current context (logged once per thread)

I am using android phonegap to access html5 into android application. 我使用android phonegap访问html5进入Android应用程序。 While I am running android application Logcat is showing the following error E/libEGL(614): call to OpenGL ES API with no current context (logged once per thread). 当我运行android应用程序时,Logcat显示以下错误E / libEGL(614):调用OpenGL ES API,没有当前上下文(每个线程记录一次)。 Though I restarted eclipse and emulator,same error is showing. 虽然我重新启动了eclipse和模拟器,但同样的错误显示出来了。 Helping Hands are highly appreciated. 非常感谢帮助之手。

You get this error when trying to do hardware accelerated stuff such as css3 transitions. 尝试执行css3过渡等硬件加速操作时会出现此错误。 you have to enable hardware acceleration for your app in the manifest file. 您必须在清单文件中为您的应用启用硬件加速。

<application android:hardwareAccelerated="true" ...>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM