Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

jsb环境编译时,到加载文件时报错误

$
0
0

@cuihao_1234 写道:

cocos2d-js 3.12版,在网页运行时加载用的cc.loader.loadJson运行和编译都正常,JSB编译时没有走loadJson,就直接报错了,问题出在js_cocos2dx_FileUtils_getStringFromFile下,谁能帮忙解决一下?
jsb: ERROR: File ..\auto\jsb_cocos2dx_auto.cpp: Line: 18430, Function: js_cocos2dx_FileUtils_getStringFromFile
js_cocos2dx_FileUtils_getStringFromFile : Error processing arguments
JS: E:/Cocos2d_H5/frameworks/runtime-src/proj.win32/Debug.win32/script/jsb_boot.js:453:Error: js_cocos2dx_FileUtils_getStringFromFile : Error processing arguments

Evaluating main.js failed (evaluatedOK == JS_FALSE)
cocos2d: QuadCommand: resizing index size from [-1] to [2560]

帖子: 21

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles