2012-08-17 95 views
3

我试图运行的ArcGIS在Android模拟器的Android样本报告0x501错误。基于该ArcGIS recommendation,我已经安装了英特尔HAXM并启用了GPU仿真为好。在Android模拟器安装apk文件,而使用GPU仿真与OpenGL ES的

我的一台机器有3GB RAM,在Emulator中运行.apk没有问题。但另一台拥有2GB RAM的机器在运行应用程序时报告下面的控制台输出。看起来应用程序安装了ERROR,安装了,我可以看到应用程序布局没有MAP,它没有响应我。

请给我建议,是任何有关硬件不足,还是我失去了任何软件配置的东西得到它的工作?

在此先感谢!

[2012-08-17 12:07:07 - GeometryEditor] New emulator found: emulator-5554 
[2012-08-17 12:07:07 - GeometryEditor] Waiting for HOME ('android.process.acore') to be launched... 
[2012-08-17 12:08:32 - GeometryEditor] HOME is up on device 'emulator-5554' 
[2012-08-17 12:08:32 - GeometryEditor] Uploading GeometryEditor.apk onto device 'emulator-5554' 
[2012-08-17 12:09:20 - GeometryEditor] Installing GeometryEditor.apk... 
[2012-08-17 12:09:42 - Emulator] sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glUseProgram:1911 error 0x501 
[2012-08-17 12:09:42 - Emulator] sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetUniformLocation:1380 error 0x501 
[2012-08-17 12:09:42 - Emulator] sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetAttribLocation:825 error 0x501 
[2012-08-17 12:09:42 - Emulator] sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glUseProgram:1911 error 0x501 
[2012-08-17 12:09:42 - Emulator] sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetUniformLocation:1380 error 0x501 
[2012-08-17 12:09:42 - Emulator] sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetAttribLocation:825 error 0x501 
[2012-08-17 12:09:42 - Emulator] sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetUniformLocation:1380 error 0x501 
............. 
............. 
............. 
[2012-08-17 12:10:27 - GeometryEditor] Success! 
[2012-08-17 12:10:27 - GeometryEditor] Starting activity com.esri.arcgis.android.samples.geometryeditor.GeometryEditor on device emulator-5554 
[2012-08-17 12:10:30 - GeometryEditor] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.esri.arcgis.android.samples.geometryeditor/.GeometryEditor } 

回答

2

你得到的OpenGL错误501(GL_INVALID_VALUE)的是一种看上去相关的每个着色器的功能。

我猜测包含在程序中的着色器没有编译,并且在着色器编译和链接时没有对着色器进行错误检查/验证,因此它正在执行一个破坏的程序。不同的GPU对它们可以接受的着色源有些挑剔,所以在一台计算机上运行的程序将停止在另一台计算机上工作似乎并不令人惊讶。

你有这个项目的源代码,你可以编辑?如果从着色器打印调试消息,则可能很容易修复。

相关问题