安卓图片黑屏

我用的是Creator2.1.0-rc2版本,在安卓机顶盒运行加载图片会出现黑屏,出错日志如下:
E/jswrapper( 7545): [ERROR] (D:/CocosCreator/resources/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cp
p, 2214): glTexSubImage2D((GLenum)target , (GLint)level , (GLint)xoffset , (GLint)yoffset , (GLsizei)width , (GLsizei)he
ight , (GLenum)format , (GLenum)type , (GLvoid*)pixels); GL error 0x502: GL_INVALID_OPERATION
E/jswrapper( 7545): [ERROR] Failed to invoke JSB_glTexSubImage2D, location: D:/CocosCreator/resources/cocos2d-x/cocos/sc
ripting/js-bindings/manual/jsb_opengl_manual.cpp:2218
E/jswrapper( 7545): [ERROR] (D:/CocosCreator/resources/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cp
p, 2214): glTexSubImage2D((GLenum)target , (GLint)level , (GLint)xoffset , (GLint)yoffset , (GLsizei)width , (GLsizei)he
ight , (GLenum)format , (GLenum)type , (GLvoid*)pixels); GL error 0x502: GL_INVALID_OPERATION
E/jswrapper( 7545): [ERROR] Failed to invoke JSB_glTexSubImage2D, location: D:/CocosCreator/resources/cocos2d-x/cocos/sc
ripting/js-bindings/manual/jsb_opengl_manual.cpp:2218
E/jswrapper( 7545): [ERROR] (D:/CocosCreator/resources/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cp
p, 2214): glTexSubImage2D((GLenum)target , (GLint)level , (GLint)xoffset , (GLint)yoffset , (GLsizei)width , (GLsizei)he
ight , (GLenum)format , (GLenum)type , (GLvoid*)pixels); GL error 0x502: GL_INVALID_OPERATION
E/jswrapper( 7545): [ERROR] Failed to invoke JSB_glTexSubImage2D, location: D:/CocosCreator/resources/cocos2d-x/cocos/sc
ripting/js-bindings/manual/jsb_opengl_manual.cpp:2218
E/jswrapper( 7545): [ERROR] (D:/CocosCreator/resources/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cp
p, 2214): glTexSubImage2D((GLenum)target , (GLint)level , (GLint)xoffset , (GLint)yoffset , (GLsizei)width , (GLsizei)he
ight , (GLenum)format , (GLenum)type , (GLvoid*)pixels); GL error 0x502: GL_INVALID_OPERATION
E/jswrapper( 7545): [ERROR] Failed to invoke JSB_glTexSubImage2D, location: D:/CocosCreator/resources/cocos2d-x/cocos/sc
ripting/js-bindings/manual/jsb_opengl_manual.cpp:2218
E/jswrapper( 7545): [ERROR] (D:/CocosCreator/resources/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cp
p, 2214): glTexSubImage2D((GLenum)target , (GLint)level , (GLint)xoffset , (GLint)yoffset , (GLsizei)width , (GLsizei)he
ight , (GLenum)format , (GLenum)type , (GLvoid*)pixels); GL error 0x502: GL_INVALID_OPERATION
E/jswrapper( 7545): [ERROR] Failed to invoke JSB_glTexSubImage2D, location: D:/CocosCreator/resources/cocos2d-x/cocos/sc
ripting/js-bindings/manual/jsb_opengl_manual.cpp:2218
I/SystemControl( 2794): readSysfs [ /sys/devices/aml_pm/suspend_reason ] [ ] from pid=3165, uid=1000, process name=syst
em_server
D/InputManager( 3165): interceptKeyBeforeDispatching.1
D/InputManager( 3165): interceptKeyBeforeDispatching.1
V/KeyguardServiceDelegate( 3165): hiveview add if no keyguardservice
D/czh ( 3465): SoftKeyboard onKeyUp
E/jswrapper( 7545): [ERROR] (D:/CocosCreator/resources/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cp
p, 2214): glTexSubImage2D((GLenum)target , (GLint)level , (GLint)xoffset , (GLint)yoffset , (GLsizei)width , (GLsizei)he
ight , (GLenum)format , (GLenum)type , (GLvoid*)pixels); GL error 0x502: GL_INVALID_OPERATION
E/jswrapper( 7545): [ERROR] Failed to invoke JSB_glTexSubImage2D, location: D:/CocosCreator/resources/cocos2d-x/cocos/sc
ripting/js-bindings/manual/jsb_opengl_manual.cpp:2218
E/jswrapper( 7545): [ERROR] (D:/CocosCreator/resources/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cp
p, 2214): glTexSubImage2D((GLenum)target , (GLint)level , (GLint)xoffset , (GLint)yoffset , (GLsizei)width , (GLsizei)he
ight , (GLenum)format , (GLenum)type , (GLvoid*)pixels); GL error 0x502: GL_INVALID_OPERATION
E/jswrapper( 7545): [ERROR] Failed to invoke JSB_glTexSubImage2D, location: D:/CocosCreator/resources/cocos2d-x/cocos/sc
ripting/js-bindings/manual/jsb_opengl_manual.cpp:2218
E/jswrapper( 7545): [ERROR] (D:/CocosCreator/resources/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cp
p, 2214): glTexSubImage2D((GLenum)target , (GLint)level , (GLint)xoffset , (GLint)yoffset , (GLsizei)width , (GLsizei)he
ight , (GLenum)format , (GLenum)type , (GLvoid*)pixels); GL error 0x502: GL_INVALID_OPERATION
E/jswrapper( 7545): [ERROR] Failed to invoke JSB_glTexSubImage2D, location: D:/CocosCreator/resources/cocos2d-x/cocos/sc
ripting/js-bindings/manual/jsb_opengl_manual.cpp:2218
E/jswrapper( 7545): [ERROR] (D:/CocosCreator/resources/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cp
p, 2214): glTexSubImage2D((GLenum)target , (GLint)level , (GLint)xoffset , (GLint)yoffset , (GLsizei)width , (GLsizei)he
ight , (GLenum)format , (GLenum)type , (GLvoid*)pixels); GL error 0x502: GL_INVALID_OPERATION
E/jswrapper( 7545): [ERROR] Failed to invoke JSB_glTexSubImage2D, location: D:/CocosCreator/resources/cocos2d-x/cocos/sc
ripting/js-bindings/manual/jsb_opengl_manual.cpp:2218
E/jswrapper( 7545): [ERROR] (D:/CocosCreator/resources/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cp
p, 2214): glTexSubImage2D((GLenum)target , (GLint)level , (GLint)xoffset , (GLint)yoffset , (GLsizei)width , (GLsizei)he
ight , (GLenum)format , (GLenum)type , (GLvoid*)pixels); GL error 0x502: GL_INVALID_OPERATION
E/jswrapper( 7545): [ERROR] Failed to invoke JSB_glTexSubImage2D, location: D:/CocosCreator/resources/cocos2d-x/cocos/sc
ripting/js-bindings/manual/jsb_opengl_manual.cpp:2218
E/jswrapper( 7545): [ERROR] (D:/CocosCreator/resources/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cp
p, 2214): glTexSubImage2D((GLenum)target , (GLint)level , (GLint)xoffset , (GLint)yoffset , (GLsizei)width , (GLsizei)he
ight , (GLenum)format , (GLenum)type , (GLvoid*)pixels); GL error 0x502: GL_INVALID_OPERATION
E/jswrapper( 7545): [ERROR] Failed to invoke JSB_glTexSubImage2D, location: D:/CocosCreator/resources/cocos2d-x/cocos/sc
ripting/js-bindings/manual/jsb_opengl_manual.cpp:2218
E/jswrapper( 7545): [ERROR] (D:/CocosCreator/resources/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cp
p, 2214): glTexSubImage2D((GLenum)target , (GLint)level , (GLint)xoffset , (GLint)yoffset , (GLsizei)width , (GLsizei)he
ight , (GLenum)format , (GLenum)type , (GLvoid*)pixels); GL error 0x502: GL_INVALID_OPERATION
E/jswrapper( 7545): [ERROR] Failed to invoke JSB_glTexSubImage2D, location: D:/CocosCreator/resources/cocos2d-x/cocos/sc
ripting/js-bindings/manual/jsb_opengl_manual.cpp:2218
E/jswrapper( 7545): [ERROR] (D:/CocosCreator/resources/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cp
p, 2214): glTexSubImage2D((GLenum)target , (GLint)level , (GLint)xoffset , (GLint)yoffset , (GLsizei)width , (GLsizei)he
ight , (GLenum)format , (GLenum)type , (GLvoid*)pixels); GL error 0x502: GL_INVALID_OPERATION
E/jswrapper( 7545): [ERROR] Failed to invoke JSB_glTexSubImage2D, location: D:/CocosCreator/resources/cocos2d-x/cocos/sc
ripting/js-bindings/manual/jsb_opengl_manual.cpp:2218
E/jswrapper( 7545): [ERROR] (D:/CocosCreator/resources/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cp
p, 2214): glTexSubImage2D((GLenum)target , (GLint)level , (GLint)xoffset , (GLint)yoffset , (GLsizei)width , (GLsizei)he
ight , (GLenum)format , (GLenum)type , (GLvoid*)pixels); GL error 0x502: GL_INVALID_OPERATION
E/jswrapper( 7545): [ERROR] Failed to invoke JSB_glTexSubImage2D, location: D:/CocosCreator/resources/cocos2d-x/cocos/sc
ripting/js-bindings/manual/jsb_opengl_manual.cpp:2218
E/jswrapper( 7545): [ERROR] (D:/CocosCreator/resources/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cp
p, 2214): glTexSubImage2D((GLenum)target , (GLint)level , (GLint)xoffset , (GLint)yoffset , (GLsizei)width , (GLsizei)he
ight , (GLenum)format , (GLenum)type , (GLvoid*)pixels); GL error 0x502: GL_INVALID_OPERATION
E/jswrapper( 7545): [ERROR] Failed to invoke JSB_glTexSubImage2D, location: D:/CocosCreator/resources/cocos2d-x/cocos/sc
ripting/js-bindings/manual/jsb_opengl_manual.cpp:2218
D/jswrapper( 7545): JS: Unknown keyCode: 6
I/art ( 4213): Background partial concurrent mark sweep GC freed 99967(6MB) AllocSpace objects, 0(0B) LOS objects, 3
9% free, 9MB/15MB, paused 2.893ms total 111.926ms
查了半天没看出啥原因?

解决了,还以为是glTexSubImage2D相关问题,结果是两个场景引用了同一张图片:10: