• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Error with the draw of a shape

Yoyojava

Lurker
Hello,

I try to draw a triangle in my app by using the tutorial in the android developer web site (https://developer.android.com/training/graphics/opengl/environment.html) but my triangle it is not draw and I have an error message:
distrib/android-emugl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetAttribLocation:995 error 0x502
distrib/android-emugl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetUniformLocation:1633 error 0x502

I think it's come frome my class Triangle but I don't found the mistake. I put a screenshot of my class Triangle.

thank you
 

Attachments

  • classTriangle.png
    classTriangle.png
    61.2 KB · Views: 124
Back
Top Bottom