不能够在模拟器中运行的游戏(Andengine) [英] Not able to run game on emulator (Andengine)

查看:203
本文介绍了不能够在模拟器中运行的游戏(Andengine)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用andEngine开发游戏。游戏在设备上运行,但它不能在模拟器中运行。游戏退出,会被重定向到主屏幕。可能是什么问题?

I'm developing a game using andEngine. Game is running on device,but it is not running on emulator. Game exits and is redirected to home screen. What might be the issue?

没有任何的logcat错误

推荐答案

这是因为AndEngine库openGPL.ES2需要的设备应该具有和支持OpenGLES。的

It is because of openGPL.ES2 of AndEngine library requires device should have and enable OpenGLES.

您必须:


  1. 安装Android SDK versio> = 19兼容AVD经理。

  2. 和配置在Eclipse中使用Android虚拟设备的 GPU仿真=是中的AVD管理diaglog硬件配置的一部分。 在运行配置参数添加: GPU -on

  1. Install Android SDK versio >=19 with compatible AVD manager.
  2. And config in Eclipse for your Android Virtual Device with GPU emulation = yes in Hardware config part on the AVD Manager diaglog. Or in run configuration parameter add: gpu -on

这篇关于不能够在模拟器中运行的游戏(Andengine)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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