热更新 出现黑屏 求助

  • Creator 版本号:1.5
  • 目标平台:Mac模拟器
  • 详细报错信息

cocos2d: warning, Director::setProjection() failed because size is 0
cocos2d: fullPathForFilename: No file found at script/jsb_prepare.jsc. Possible missing file.
cocos2d: fullPathForFilename: No file found at script/jsb_boot.jsc. Possible missing file.
Cocos2d-JS v3.14
Create unpacker 0c1557d57 for 8aVGk1cNRC0qBRjQ528oAI
cocos2d: QuadCommand: resizing index size from [-1] to [2560]
Error 4916, please go to https://github.com/cocos-creator/engine/blob/master/EngineErrorMap.md#4916 to see details. Arguments: 8aVGk1cNRC0qBRjQ528oAI
Failed to load scene: Error: [AssetLibrary] loading JSON or dependencies failed: Download text failed: res/import/0c/0c1557d57.json

然后删除 重新构建 编译 持续出现黑屏现象
creator版本是1.5

不要用模拟器去运行热更新,build 出来运行

1赞

build出来 一定要运行在android 或者iOS上 是这个意思吗
老师 有点不理解 是不是mac或者windows模拟器不能运行这个热更新啊:hushed:

Mac windows 也可以,但是要 build 出来

感谢大大的耐心解答:grin::grin::grin::grin:
我是直接点构建发布然后 构建 编译 运行 的 系统是mac,跑mac模拟器
您说的build是咋做的。。。

发布平台选择iOS或者android,build就是构建、编译,然后用xcode、eclispe/android studio打开项目工程,手机安装或者IDE的模拟器运行