在IPAD3上调试COCOS2DX3.15.1,启动过程中(才刚显示启动画面,没有进入游戏画面),按HOME键,黑屏并报错:
非必现,
2017-12-07 11:34:04.549 | JIGUANG | I - [JIGUANGClientController] Action - jpush setup
2017-12-07 11:34:04.560 | JIGUANG | I - [JIGUANGClientController] Action - setup
{
cocos2d.x.version: cocos2d-x-3.15.1
cocos2d.x.compiled_with_gl_state_cache: true
cocos2d.x.build_type: DEBUG
gl.supports_vertex_array_object: true
cocos2d.x.compiled_with_profiler: false
gl.renderer: PowerVR SGX 543
gl.vendor: Imagination Technologies
gl.version: OpenGL ES 2.0 IMGSGX543-124.1
gl.max_texture_size: 4096
gl.max_samples_allowed: 4
gl.supports_S3TC: false
gl.supports_ATITC: false
gl.supports_ETC1: false
gl.supports_OES_packed_depth_stencil: true
gl.max_texture_units: 8
gl.supports_PVRTC: true
gl.supports_NPOT: true
gl.supports_OES_map_buffer: true
gl.supports_OES_depth24: true
gl.supports_discard_framebuffer: true
gl.supports_BGRA8888: false
}
cocos2d: fullPathForFilename: No file found at script/jsb_prepare.js. Possible missing file.
2017-12-07 11:34:04.894 play2math-mobile[8947:3822289] jpush registrationID获取成功:101d8559097cb7fe31f
cocos2d: fullPathForFilename: No file found at script/jsb_boot.js. Possible missing file.
Cocos2d-JS v3.15
初始化基础的数据库模板
比较版本:prevAppVersion :1.5.0 App.appVersion:1.5.0
old search:
[""]
current search:
[
["/var/mobile/Containers/Data/Application/715AB32B-440D-4FB1-A7E9-D382F30FCB43/Documents/","/var/mobile/Containers/Data/Application/715AB32B-440D-4FB1-A7E9-D382F30FCB43/Documents/hotupdate/",“res/”,""]
]
I/AudioEngine-inl.mm (323): OpenAL was initialized successfully!
V/AudioCache (129): AudioCache() 0x196f0ea4, id=1
V/AudioCache (197): readDataTask, cache id=1
V/AudioCache (249): Orignal total frames: 62208, adjust frames: 529, current total frames: 62737
V/AudioPlayer (147): AudioPlayer::play2d, _alSource: 2400
V/AudioCache (312): pcm buffer was loaded successfully, total frames: 62737, total read frames: 62208, adjust frames: 529, remainingFrames: 529
V/AudioCache (129): AudioCache() 0x19774c24, id=2
V/AudioCache (197): readDataTask, cache id=2
=========POST DATA START=======:typePOST
http://app.ddkids.com/api_v2/app_version?1512617646885
{“appId”:“play2math”,“channelName”:“ddkids_tv”,“release”:1}
=========POST DATA END=======
[XMLHttpRequest] POST http://app.ddkids.com/api_v2/app_version?1512617646885
V/AudioCache (249): Orignal total frames: 239616, adjust frames: 529, current total frames: 240145
In the constructor of HttpClient!
V/AudioPlayer (147): AudioPlayer::play2d, _alSource: 2401
2017-12-07 11:34:06.893 play2math-mobile[8947:3822363] Starting to load http://app.ddkids.com/api_v2/app_version?1512617646885
V/AudioCache (312): pcm buffer was loaded successfully, total frames: 240145, total read frames: 239616, adjust frames: 529, remainingFrames: 529
2017-12-07 11:34:07.064 play2math-mobile[8947:3822363] Received response from request to url http://app.ddkids.com/api_v2/app_version?1512617646885
-----------------------------cc.game.EVENT_SHOW---------
D/AudioEngine-inl.mm (166): UIApplicationDidBecomeActiveNotification
2017-12-07 11:34:07.145 play2math-mobile[8947:3822199] Device Token: <f1cc0b30 cf85e159 24fdc10a c40e4586 ac339095 49ee4e5b 911fecda 78c5ed2c>
readyState: 4 ,statusText:200 OK, status:200
responseText from:http://app.ddkids.com/api_v2/app_version?1512617646885
responseText end-----------------
========下载版本文件错误=======:http://app.ddkids.com/api_v2/app_version
parse_json_error
使用本地存储的远程配置:
{}
没有这个APK可以更新
是最新的版本,不用下载APP
Request a static file, force set type to GET!
GET DATA FROM URL:http://down.ddkids.com/upload/app/play2math/release/ddkids_tv/version.manifest
[XMLHttpRequest] GET http://down.ddkids.com/upload/app/play2math/release/ddkids_tv/version.manifest
2017-12-07 11:34:07.191 play2math-mobile[8947:3822368] Starting to load http://down.ddkids.com/upload/app/play2math/release/ddkids_tv/version.manifest
OpenGL error 0x0506 in /Volumes/data/work/git/ddkids_game_framework/dev/frameworks/cocos2d-x/cocos/renderer/CCFrameBuffer.cpp applyFBO 448
FrameBuffer Status Error 36054
OpenGL error 0x0506 in /Volumes/data/work/git/ddkids_game_framework/dev/frameworks/cocos2d-x/cocos/renderer/CCRenderer.cpp saveRenderState 158
OpenGL error 0x0506 in /Volumes/data/work/git/ddkids_game_framework/dev/frameworks/cocos2d-x/cocos/renderer/CCRenderer.cpp saveRenderState 158
OpenGL error 0x0506 in /Volumes/data/work/git/ddkids_game_framework/dev/frameworks/cocos2d-x/cocos/renderer/CCRenderer.cpp restoreRenderState 188
OpenGL error 0x0506 in /Volumes/data/work/git/ddkids_game_framework/dev/frameworks/cocos2d-x/cocos/renderer/CCRenderer.cpp restoreRenderState 188
OpenGL error 0x0506 in -[CCEAGLView swapBuffers] 334
D/AudioEngine-inl.mm (156): UIApplicationWillResignActiveNotification
2