Android OpenGL ES 2.0 模拟器 [英] Android OpenGL ES 2.0 emulator

查看:20
本文介绍了Android OpenGL ES 2.0 模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台支持 OpenGL ES 2.0 (HTC Desire) 的设备,当然,在设备上部署应用程序的速度要比在模拟器上快得多.默认的android模拟器不支持2.0,androidX86项目和类似的androbox项目不支持本机代码(NDK),所以即使Hello-Jni也会崩溃(除了Hello-GL2 sample ofc之外,所有样本在标准AVD上都可以正常工作),不知道是否支持 OpenGL ES 2.0,请告诉我.

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.

那么,如果有支持 OpenGL 2.0 的原生方式 (NDK) 开发 - 如何在没有设备的情况下测试应用程序?

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

推荐答案

更新:正如 StackOverflow 用户所说,android 模拟器现在支持 OpenGL ES 2.0(2017 年 2 月)

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

正如 Google 自己所说,在 Android 官方文档中,Android 模拟器尚不支持 OpenGL ES 2.0 功能.

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

请参考这个官方文档.

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

我希望这能回答你的问题.

I hope this answers your question.

对于 OpenGLles20 模拟器,您可以使用 GenyMotionwww.genymotion.com/

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

这篇关于Android OpenGL ES 2.0 模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆