3.13版本,打包APK,运行报错sb_boot.js:622:InternalError: too much recursion

D/OpenGLRenderer: – init (key = 0x0000000000000000)
D/cocos2d-x debug info: {
gl.supports_OES_packed_depth_stencil: true
gl.supports_vertex_array_object: true
gl.supports_BGRA8888: false
gl.supports_ATITC: false
gl.supports_S3TC: false
cocos2d.x.version: cocos2d-x-3.13.1
gl.supports_discard_framebuffer: true
cocos2d.x.compiled_with_profiler: false
gl.supports_PVRTC: false
cocos2d.x.build_type: DEBUG
gl.renderer: Mali-T880
gl.supports_OES_depth24: true
gl.supports_ETC1: true
gl.supports_OES_map_buffer: true
cocos2d.x.compiled_with_gl_state_cache: true
gl.version: OpenGL ES 3.1 v1.r7p0-02rel0.c2815c77377fd8176029d97c61eba4df
gl.supports_NPOT: true
gl.max_texture_units: 96
gl.vendor: ARM
gl.max_texture_size: 8192
}
D/OpenGLRenderer: – init (key = 0x0000000000000001)
D/OpenGLRenderer: – init (key = 0x0000020000000008)
D/Surface: Surface::connect(this=0xedbda600,api=1)
W/libEGL: [ANDROID_RECORDABLE] format: 1
D/mali_winsys: new_window_surface returns 0x3000
I/PerfService: PerfServiceNative api init
D/cocos2d-x debug info: cocos2d: fullPathForFilename: No file found at script/jsb_prepare.jsc. Possible missing file.
I/[MALI][Gralloc]: [+]r_hnd(0xf3d46660), client(40), share_fd(38)
D/OpenGLRenderer: ProgramCache save to disk, size = 3
I/[MALI][Gralloc]: [+]r_hnd(0xf3d467a0), client(40), share_fd(42)
D/Cocos2dxActivity: onWindowFocusChanged() hasFocus=true
I/GLSurfaceView: setRenderMode = 1, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{cbe06a1 VFE… .F…I. 0,0-1920,1080}
V/InputMethodManager: onWindowFocus: org.cocos2dx.lib.Cocos2dxGLSurfaceView{cbe06a1 VFE… .F…I. 0,0-1920,1080}
V/InputMethodManager: START INPUT: org.cocos2dx.lib.Cocos2dxGLSurfaceView{cbe06a1 VFE… .F…I. 0,0-1920,1080} ic=null trolFlags=#105
I/[MALI][Gralloc]: [+]r_hnd(0xf3d468e0), client(40), share_fd(44)
D/cocos2d-x debug info: cocos2d: fullPathForFilename: No file found at script/jsb_boot.jsc. Possible missing file.
D/cocos2d: android SDK version:23
D/libc-netbsd: [getaddrinfo]: mtk hostname=(null); servname=5086; netid=0; mark=0
D/libc-netbsd: getaddrinfo( app_uid:10264
D/libc-netbsd: getaddrinfo() uid prop:
D/libc-netbsd: getaddrinfo() getuid():10264
D/libc-netbsd: [getaddrinfo]: mtk ai_addrlen=0; ai_canonname=(null); ai_flags=1; ai_family=0
D/cocos2d-x debug info: JS: Cocos2d-JS v3.13
D/cocos2d-x debug info: JS: assets/script/jsb_boot.js:622:InternalError: too much recursion
D/cocos2d-x debug info: Evaluating main.js failed (evaluatedOK == JS_FALSE)
I/[MALI][Gralloc]: [+]r_hnd(0xd4764560), client(40), share_fd(49)
V/SoundPool: autoResume()
I/[MALI][Gralloc]: [+]r_hnd(0xd6f70400), client(40), share_fd(51)
I/[MALI][Gralloc]: [+]r_hnd(0xd6f70540), client(40), share_fd(53)
I/[MALI][Gralloc]: [+]r_hnd(0xd6f70680), client(40), share_fd(55)

这里是全部信息,WEB下正常运行,打包安卓并运行以后报错,请问是什么原因?

你检查下是不是cc.log 造成的 如果你在打印一个对象 然后这个对象之间有互相引用的对象 就会造成这个问题。