Not able to run game on emulator (Andengine)

徘徊边缘 提交于 2019-12-11 02:29:59

问题


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?

No any Errors in Logcat.


回答1:


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

You must:

  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


来源:https://stackoverflow.com/questions/12178367/not-able-to-run-game-on-emulator-andengine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!