title: Installing .apk in android emulator reports 0x501 error while using GPU Emulation with OpenGL ES
body: <p>I am trying to run the <strong>ArcGIS for Android</strong> samples in Android Emulator. Based on the <a href="http://blogs.esri.com/esri/arcgis/2012/05/02/arcgis-runtime-sdk-for-android-v1-1-supports-android-emulator/" rel="nofollow">ArcGIS recommendation</a>, I have installed the <strong>Intel HAXM</strong> and enabled the <strong>GPU Emulation</strong> as well.</p>
  
  <p>One of my machine having 3GB RAM running the .apk in Emulator without issues. But another machine having 2GB RAM, reporting the below console output while running the application. It seems the application has been <strong>installed with ERRORS</strong>, and I can see the application layout <strong>without MAP</strong> and its not responding to me.</p>
  
  <p>Please suggest me, is it anything related to insufficient hardware or am I missing any software configuration things to get it worked?</p>
  
  <p>Thanks in advance!</p>
  
  <pre><code>[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 }
  </code></pre>