title: Failing to compile shader known to be good on android
body: <p>I have the following shader taken from the android SDK sampele:</p>
  
  <pre><code>   final String vertexShader = 
              "uniform mat4 uMVPMatrix;\n" +
              "attribute vec4 aPosition;\n" +
              "attribute vec2 aTextureCoord;\n" +
              "varying vec2 vTextureCoord;\n" +
              "void main() {\n" +
              "  gl_Position = uMVPMatrix * aPosition;\n" +
              "  vTextureCoord = aTextureCoord;\n" +
              "}\n";
  </code></pre>
  
  <p>the shader is from their opengl es 2.0 example and works fine when I comile the example.</p>
  
  <p>However when I try to compile the shader in my program I get:</p>
  
  <pre><code>03-07 17:36:21.109: ERROR/GLES20TEST(5992): Could not compile shader 35633:
  </code></pre>
  
  <p>There is also the fact that the method:</p>
  
  <pre><code>GLES20.glGetShaderInfoLog(shader)
  </code></pre>
  
  <p>returns no information ( which I belive is a known bug as far as I understood from my google research)</p>
  
  <p>does anyone know what I'm doing wrong?</p>
  
  <p>Thanks, 
  Jason</p>