Creator 版本号:1.4.2
运行时目标平台:Android
手机浏览器平台:小米Note2
操作系统:MIUI
详细报错信息,包含调用堆栈:
04-14 09:43:07.978 4031-4086/ E/cocos2d-x﹕ cocos2d: warning,Director::setProjection() failed because size is 0
04-14 09:43:07.983 4031-4031/ I/SurfaceView﹕ Punch a hole(dispatchDraw), w = 1080, h = 1920, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{3d03abea VFE… .F… 0,0-1080,1920}
04-14 09:43:08.010 4031-4086/ D/cocos2d-x﹕ cocos2d: fullPathForFilename: No file found at script/jsb_prepare.jsc. Possible missing file.
04-14 09:43:08.073 4031-4086/ D/SQLiteDatabase﹕ beginTransaction()
04-14 09:43:08.075 4031-4086/ D/SQLiteDatabase﹕ endTransaction()
04-14 09:43:08.084 4031-4031/ D/Cocos2dxActivity﹕ onWindowFocusChanged() hasFocus=true
04-14 09:43:08.086 4031-4031/ I/GLSurfaceView﹕ setRenderMode = 1, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{3d03abea VFE… .F…I. 0,0-1080,1920}
04-14 09:43:08.086 4031-4031/ V/InputMethodManager﹕ onWindowFocus: org.cocos2dx.lib.Cocos2dxGLSurfaceView{3d03abea VFE… .F…I. 0,0-1080,1920} softInputMode=288 first=true flags=#1810500
04-14 09:43:08.086 4031-4031/ V/InputMethodManager﹕ START INPUT: org.cocos2dx.lib.Cocos2dxGLSurfaceView{3d03abea VFE… .F…I. 0,0-1080,1920} ic=null tba=android.view.inputmethod.EditorInfo@350cc2fd controlFlags=#105
04-14 09:43:08.088 4031-4031/ I/SurfaceView﹕ updateWindow – UPDATE_WINDOW_MSG, this = Handler (android.view.SurfaceView$1) {6864bf2}
04-14 09:43:08.099 4031-4031/ I/SurfaceView﹕ updateWindow – setFrame, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{3d03abea VFE… .F…I. 0,0-1080,1920}
04-14 09:43:08.099 4031-4031/ I/SurfaceView﹕ updateWindow – OnPreDrawListener, mHaveFrame = true, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{3d03abea VFE… .F…I. 0,0-1080,1920}
04-14 09:43:08.100 4031-4031/ I/SurfaceView﹕ Punch a hole(dispatchDraw), w = 1080, h = 1920, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{3d03abea VFE… .F… 0,0-1080,1920}
04-14 09:43:08.102 4031-4087/ D/IMGSRV﹕ gralloc_register_buffer:1390: hnd=0xab330b30 ID=8630 fd=61 ref=1
04-14 09:43:08.102 4031-4087/ D/GraphicBuffer﹕ register, handle(0xab330b30) (w:1080 h:1920 s:1088 f:0x1 u:0x000b00)
04-14 09:43:08.104 4031-4086/ D/cocos2d-x﹕ cocos2d: fullPathForFilename: No file found at script/jsb_boot.jsc. Possible missing file.
04-14 09:43:08.109 4031-4086/ D/cocos2d﹕ android SDK version:21
04-14 09:43:08.302 4031-4086/ D/cocos2d-x debug info﹕ Cocos2d-JS v3.14
04-14 09:43:08.375 4031-4099/ D/libc-netbsd﹕ [getaddrinfo]: hostname=(null); servname=5086; cache_mode=(null), netid=0; mark=0
04-14 09:43:08.375 4031-4099/ D/libc-netbsd﹕ [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1; ai_family=0
04-14 09:43:08.767 4031-4031/ D/FLQG_LOG﹕ CustomDebug: CustomResult result : 80000 msg : CUSTOMRESULT_CUSTOMREXTENSION
04-14 09:43:09.013 4031-4086/ D/cocos2d-x﹕ create rendererRecreatedListener for GLProgramState
04-14 09:43:09.297 4031-4086/ D/cocos2d-x﹕ cocos2d: QuadCommand: resizing index size from [-1] to [2560]
04-14 09:43:09.303 4031-4086/ V/SoundPool-JNI﹕ android_media_SoundPool_SoundPoolImpl_autoResume
04-14 09:43:09.303 4031-4086/ V/SoundPool﹕ autoResume()
04-14 09:43:09.304 4031-4086/ D/FLQG_LOG﹕ Statistics: onActionResult(UserDebug,0,init success)
04-14 09:43:09.304 4031-4086/ W/FLQG_LOG﹕ UserObject: callback of plugin UserDebug not set correctly
04-14 09:43:09.304 4031-4086/ D/FLQG_LOG﹕ Statistics: onActionResult(CustomDebug,80000,CUSTOMRESULT_CUSTOMREXTENSION)
04-14 09:43:09.304 4031-4086/ W/FLQG_LOG﹕ CustomObject: Listener of plugin CustomDebug not set correctly
04-14 09:43:09.305 4031-4086/ D/FLQG_LOG﹕ Statistics: onActionResult(RECDebug,0,init success)
04-14 09:43:09.305 4031-4086/ W/FLQG_LOG﹕ RECObject: Listener of plugin RECDebug not set correctly
04-14 09:43:09.385 4031-4086/ D/IMGSRV﹕ gralloc_register_buffer:1390: hnd=0xac0ee9b0 ID=8694 fd=66 ref=1
04-14 09:43:09.385 4031-4086/ D/GraphicBuffer﹕ register, handle(0xac0ee9b0) (w:1080 h:1920 s:1088 f:0x4 u:0x000b00)
04-14 09:43:09.400 4031-4086/ D/cocos2d-x debug info﹕ Success to load scene: db://assets/Scene/cz.fire
04-14 09:43:09.407 4031-4086/ E/cocos js error:﹕ assets/src/jsb_polyfill.js line:30680 msg:TypeError: texture is null
编辑器之前是否有其它报错:
做了什么操作引起的 Bug:打包成Android程序直接启动
偶发 bug 的概率和额外线索:每次必现
请问您这个是怎么解决的?