Android OpenGL ES 2.0 emulator

55,601

Solution 1

Update: As correctly stated by a StackOverflow user, the android emulator now supports OpenGL ES 2.0 (Feb 2017)

https://sites.google.com/a/android.com/tools/recent/androidemulatorrevision2530feb2017


As stated by Google itself, in the official Android documentation, the Android emulator does not support yet the OpenGL ES 2.0 features.

Please refer to this official document.

http://developer.android.com/resources/tutorials/opengl/opengl-es20.html

I hope this answers your question.

For OpenGles20 emulator you can use GenyMotion www.genymotion.com/

Solution 2

The emulator now supports OpenGL: http://android-developers.blogspot.com/2012/04/faster-emulator-with-better-hardware.html

Be sure to add the GPU emulation hardware property and set it to yes when creating the avd (per the link below):

http://developer.android.com/tools/devices/emulator.html

Solution 3

As of Feb 2017, emulator 25.3.0 supports OpenGL 2.0 fully.

https://sites.google.com/a/android.com/tools/recent/androidemulatorrevision2530feb2017

Fully GLES 2.0 compliant. Given a host GPU that has conformant desktop OpenGL drivers, the emulator now passes 100% of CTS dEQP-GLES2 must-pass.

After it stabilizes, assuming there are no critical bugs with it, you should be able to test with it.

Share:
55,601
Aristarhys
Author by

Aristarhys

Sad man behind a screen. Why you siting in cubicle alone? You are not.

Updated on February 15, 2020

Comments

  • Aristarhys
    Aristarhys over 4 years

    Well i have a device which supports OpenGl ES 2.0 (HTC Desire), and of course deploy app on device much faster then on emulator. Default android emulator does not support 2.0, androidX86 project and similiar androbox project does not support native code (NDK) so even Hello-Jni crash on them (all samples works fine on standart AVD except Hello-GL2 sample ofc), don't know supports they a OpenGL ES 2.0 or not, please tell me.

    So if there is a development in native way (NDK) with OpenGl 2.0 support - how is possible to test app without device?