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

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

问题描述

嗯,我有一个支持 OpenGl ES 2.0 (HTC Desire) 的设备,当然在设备上部署应用程序比在模拟器上快得多.默认 android 模拟器不支持 2.0,androidX86 项目和类似的 androbox 项目不支持本机代码(NDK),所以即使 Hello-Jni 崩溃(所有示例在标准 AVD 上都可以正常工作,除了 Hello-GL2 示例 ofc),不知道是否支持 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.

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

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

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

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