Cocos2dx 模拟器运行出现错误:cannot find GLES2.0
2012-09-06 14:17
295 查看
由于模拟器不支持GLES2.0,使用手机可以运行此中应用
在网络上还找到另一种解决方法:修改如下函数。
在网络上还找到另一种解决方法:修改如下函数。
private boolean detectOpenGLES20()
{ ActivityManager am = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE); ConfigurationInfo info = am.getDeviceConfigurationInfo(); return (info.reqGlEsVersion >= 0x20000 || Build.FINGERPRINT.startsWith("generic")); }
相关文章推荐
- 在centos中运行出现错误:cannot find -lbz2
- IIS运行asp程序出现The requested resource is in use 和 安装.net 2.0 后运行2.0程序出现 Failed to access IIS metabase 错误的解决
- 安卓开发 运行genymotion模拟器 出现Failure [INSTALL_FAILED_CPU_ABI_INCOMPATIBLE]错误
- Xcode5中ios7模拟器出现 Cannot find executable for CFBundle ... > (not loaded) 的解决办法
- 解决交叉编译应用程序出现的错误“ld: cannot find crtend_so.o: No such file or directory”错误
- Xcode5中ios7模拟器出现 Cannot find executable for CFBundle ... axbundle> (not loaded) 的解决办法
- Andoroid:打开模拟器运行程序时出现错误invalid command-line parameter
- 运行iPhone6模拟器出现错误Unable to run app in Simulator
- 解决bug:使用Genymotion模拟器时运行出现错误INSTALL_FAILED_CPU_ABI_INCOMPATIBLE
- 运行phpize时出现:Cannot find autoconf
- android apk文件在模拟器上运行正常,在真机中出现解析包错误解决办法集锦
- maven在eclipse建立工程,运行出现Server IPC version 9 cannot communicate with client version 4错误
- cocos2dx 2.0运行HelloWorld在glGenVertexArrays(1, &m_uVAOname)时候报0×00000000错误解决办法:
- GDB调试错误(运行异常): Cannot find bounds of current function
- Google App Engine (Java + String + Velocity)数据访问调试,出现错误 Cannot find class [javax.naming.Context]
- VC++6.0运行OpenGL 出现错误Cannot open include file: 'GL/glut.h'是什么问题?
- 在ubuntu 14.04系统中安装cuda-7.5时编译samples文件,出现cannot find lnvcuvid 错误
- JSF运行时出现javax.servlet.jsp.JspException: Cannot find FacesContext处理方法
- ubuntu下安装android sdk运行模拟器出现错误:
- window下编译QT5出现错误:Cannot find file: D:\用户目录\Documents\ThreadClass\ThreadClass.pro.