android – AndEngineRuntimeException:检测到固有的不兼容设备.

android – AndEngineRuntimeException:检测到固有的不兼容设备.,第1张

概述当我运行我的AndEngine程序时,我在手机上收到这样的错误 它在我的frnds手机上成功运行,但当我试图运行时,我收到错误,如检测到固有的不兼容设备… 我的logcat在下面 10-16 14:13:23.061: E/AndroidRuntime(4533): FATAL EXCEPTION: GLThread 10 10-16 14:13:23.061: E/AndroidRunti 当我运行我的AndEngine程序时,我在手机上收到这样的错误
它在我的frnds手机上成功运行,但当我试图运行时,我收到错误,如检测到固有的不兼容设备

我的logcat在下面

10-16 14:13:23.061: E/AndroIDRuntime(4533): FATAL EXCEPTION: GLThread 10   10-16 14:13:23.061: E/AndroIDRuntime(4533): java.lang.ExceptionInInitializerError   10-16 14:13:23.061: E/AndroIDRuntime(4533):  at org.andengine.opengl.vbo.attribute.VertexBufferObjectAttributeFix.glVertexAttribPointer(VertexBufferObjectAttributeFix.java:39)   10-16 14:13:23.061: E/AndroIDRuntime(4533):  at org.andengine.opengl.vbo.attribute.VertexBufferObjectAttributes.glVertexAttribPointers(VertexBufferObjectAttributes.java:50)   10-16 14:13:23.061: E/AndroIDRuntime(4533):  at org.andengine.opengl.shader.ShaderProgram.bind(ShaderProgram.java:126)   10-16 14:13:23.061: E/AndroIDRuntime(4533):  at org.andengine.opengl.shader.positionTextureCoordinatesShaderProgram.bind(positionTextureCoordinatesShaderProgram.java:86)   10-16 14:13:23.061: E/AndroIDRuntime(4533):  at org.andengine.opengl.vbo.VertexBufferObject.bind(VertexBufferObject.java:162)   10-16 14:13:23.061: E/AndroIDRuntime(4533):  at org.andengine.opengl.texture.TextureWarmUpVertexBufferObject.warmup(TextureWarmUpVertexBufferObject.java:97)   10-16 14:13:23.061: E/AndroIDRuntime(4533):  at org.andengine.opengl.texture.TextureManager.updateTextures(TextureManager.java:257)   10-16 14:13:23.061: E/AndroIDRuntime(4533):  at org.andengine.engine.Engine.onDrawFrame(Engine.java:613)   10-16 14:13:23.061: E/AndroIDRuntime(4533):  at org.andengine.opengl.vIEw.EngineRenderer.onDrawFrame(EngineRenderer.java:105)   10-16 14:13:23.061: E/AndroIDRuntime(4533):  at androID.opengl.GLSurfaceVIEw$GLThread.guardedRun(GLSurfaceVIEw.java:1332)   10-16 14:13:23.061: E/AndroIDRuntime(4533):  at androID.opengl.GLSurfaceVIEw$GLThread.run(GLSurfaceVIEw.java:1116)   10-16 14:13:23.061: E/AndroIDRuntime(4533): Caused by: org.andengine.util.exception.AndEngineRuntimeException: Inherently incompatible device detected.   10-16 14:13:23.061: E/AndroIDRuntime(4533):  at org.andengine.opengl.GLES20Fix.<clinit>(GLES20Fix.java:39)
解决方法 与 stated here by 42labs一样:

Luckily it is very easy to fix – in your sources root (the directory
where AndroIDManifest.xml is) make a directory named libs insIDe which
then make a directory named armeabi. Now get AndEnginesources (from an
OpenGL ES 2.0 branch) – 07001. You can clone the repository
or download it. Doesn’t matter.

What matters is that you should copy the libandengine.so available there in libs/armeabi to the libs/armeabi you have just created in
your directory. Will fix the issue 总结

以上是内存溢出为你收集整理的android – AndEngineRuntimeException:检测到固有的不兼容设备.全部内容,希望文章能够帮你解决android – AndEngineRuntimeException:检测到固有的不兼容设备.所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1149284.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-31
下一篇 2022-05-31

发表评论

登录后才能评论

评论列表(0条)

保存