修改CCDirectorCaller.mm文件 (cocos2dx/platform/ios/CCDirectorCaller.mm)

cocos2d-x 在输入文字时点击语音crash

cocos2d-x 在输入文字时点击语音crash

 

添加的代码:

#import <OpenGLES/EAGL.h>

#import "EAGLView.h"

[EAGLContext setCurrentContext: [[EAGLView sharedEGLView] context]];

 

参考:

[Cocos2dx]解决在语音输入文字时crash的问题

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-23
  • 2022-12-23
  • 2021-12-15
  • 2022-12-23
  • 2021-12-30
猜你喜欢
  • 2022-02-01
  • 2022-12-23
  • 2022-12-23
  • 2021-06-29
  • 2021-12-15
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案