Android的工作室 - 模拟器 - eglSurfaceAttrib未实现 [英] Android Studio - Emulator - eglSurfaceAttrib not implemented

查看:3209
本文介绍了Android的工作室 - 模拟器 - eglSurfaceAttrib未实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了Android工作室的应用程序,不会改变一个单词的任何文件。

想上我得到了以下错误模拟器中运行它的时候:

  W / EGL_emulation:eglSurfaceAttrib未实现
W / OpenGLRenderer:无法对表面0xa6c1ace0设置EGL_SWAP_BEHAVIOR,错误= EGL_SUCCESS
I /编舞:跳过45帧!该应用程序可能会做它的主线程的工作太多了。
W / EGL_emulation:eglSurfaceAttrib未实现
W / OpenGLRenderer:无法对表面0xa6c1ace0设置EGL_SWAP_BEHAVIOR,错误= EGL_SUCCESS
 

我没有得到同样的问题,当我在真实设备上运行:

  W / IInputConnectionWrapper:getExtractedText上的非活动InputConnection
W / IInputConnectionWrapper:getTextBeforeCursor上的非活动InputConnection
W / IInputConnectionWrapper:getSelectedText上的非活动InputConnection
W / IInputConnectionWrapper:getTextAfterCursor上的非活动InputConnection
W /艺术:安卓4.1之前,方法INT android.support.v7.internal.widget.ListViewCompat.lookForSelectablePosition(INT,布尔值)会错误地覆盖在android.widget.ListView的包私有方法
 

解决方案

我发现同样的事情,但仅限于具有使用主机GPU 设置勾选模拟器。尝试打开了关闭,您将再也看不到这些警告(和模拟器运行的可怕,可怕的慢。)

在我的经验,这些警告是无害的。请注意,错误是EGL_SUCCESS,这似乎表明没有错误可言!

I have created an application with android studio, never change a single word in any file.

when trying to run it on the emulator I got the following error:

W/EGL_emulation﹕ eglSurfaceAttrib not implemented
W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa6c1ace0,error=EGL_SUCCESS
I/Choreographer﹕ Skipped 45 frames!  The application may be doing too much work on its main thread.
W/EGL_emulation﹕ eglSurfaceAttrib not implemented
W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa6c1ace0, error=EGL_SUCCESS

I am not getting the same problem when I run it on a real device:

W/IInputConnectionWrapper﹕ getExtractedText on inactive InputConnection
W/IInputConnectionWrapper﹕ getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper﹕ getSelectedText on inactive InputConnection
W/IInputConnectionWrapper﹕ getTextAfterCursor on inactive InputConnection
W/art﹕ Before Android 4.1, method int android.support.v7.internal.widget.ListViewCompat.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView

解决方案

I've found the same thing, but only on emulators that have the Use Host GPU setting ticked. Try turning that off, you'll no longer see those warnings (and the emulator will run horribly, horribly slowly..)

In my experience those warnings are harmless. Notice that the "error" is EGL_SUCCESS, which would seem to indicate no error at all!

这篇关于Android的工作室 - 模拟器 - eglSurfaceAttrib未实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆