3

Android Emulator でArcGIS for Androidサンプルを実行しようとしています。ArcGIS の推奨事項に基づいて、 Intel HAXMをインストールし、 GPU エミュレーションも有効にしました。

エミュレータで .apk を問題なく実行している 3GB RAM を搭載した私のマシンの 1 つ。しかし、2GB の RAM を持つ別のマシンは、アプリケーションの実行中に以下のコンソール出力を報告します。アプリケーションがERRORSでインストールされたようで、アプリケーションのレイアウトが 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 }
4

1 に答える 1

2

シェーダーに関連するすべての関数のように見えるもので、OpenGL エラー 501 (GL_INVALID_VALUE) が発生しています。

プログラムに含まれているシェーダーがコンパイルされておらず、コンパイルおよびリンク時にシェーダーのエラー チェック/検証が行われていないため、壊れたプログラムが進行していると推測されます。さまざまな GPU は、受け入れるシェーダー ソースについて多少のこだわりがあるため、あるコンピューターで動作するプログラムが別のコンピューターで動作しなくなることはまったく驚くべきことではありません。

編集できるこのプロジェクトのソース コードはありますか? シェーダーからデバッグ メッセージを出力すると、簡単に修正できる可能性があります。

于 2012-08-17T08:13:55.737 に答える