- Creator 版本:3.8.4
- 目标平台:Android
windos上构建、ndk:23
安卓sdk:用的是android-33的
进入游戏后闪退。报错如下
E 10:29:19 [ERROR]: E/ ScriptEngine::evalString catch exception:
2025-06-24 10:29:19.825 4041-4078 Cocos E 10:29:19 [ERROR]: [ERROR] file E:/editors/Creator/3.8.4/resources/resources/3d/engine/native/cocos/application/CocosApplication.cpp: line 173
2025-06-24 10:29:19.825 4041-4078 Cocos E 10:29:19 [ERROR]:
Uncaught Exception:
- location : (no filename):1:0:
throw new Error(“Failed to require file ‘memcpy’, not found!”);
^
- msg : Error: Failed to require file 'memcpy', not found!
- detail :
Error: Failed to require file 'memcpy', not found!
at (no filename):1:7
at factory (src/chunks/bundle.5d79f.js:3319:34)
at CjsLoader._load (src/chunks/bundle.5d79f.js:3303:11)
at CjsLoader._tryModuleLoad (src/chunks/bundle.5d79f.js:3288:18)
at CjsLoader._require (src/chunks/bundle.5d79f.js:3269:16)
at src/chunks/bundle.5d79f.js:3329:36
at src/chunks/bundle.5d79f.js:3335:22
at src/chunks/bundle.5d79f.js:47:22
at src/chunks/bundle.5d79f.js:3211:10
at CjsLoader._load (src/chunks/bundle.5d79f.js:3303:11)
2025-06-24 10:29:19.825 4041-4078 Cocos E 10:29:19 [ERROR]: JS: (no filename):1:0:
throw new Error(“Failed to require file ‘memcpy’, not found!”);
^
Error: Failed to require file ‘memcpy’, not found!
Error: Failed to require file ‘memcpy’, not found!
at (no filename):1:7
at factory (src/chunks/bundle.5d79f.js:3319:34)
at CjsLoader._load (src/chunks/bundle.5d79f.js:3303:11)
at CjsLoader._tryModuleLoad (src/chunks/bundle.5d79f.js:3288:18)
at CjsLoader._require (src/chunks/bundle.5d79f.js:3269:16)
at src/chunks/bundle.5d79f.js:3329:36
at src/chunks/bundle.5d79f.js:3335:22
at src/chunks/bundle.5d79f.js:47:22
at src/chunks/bundle.5d79f.js:3211:10
at CjsLoader._load (src/chunks/bundle.5d79f.js:3303:11)
2025-06-24 10:29:19.825 4041-4078 Cocos E 10:29:19 [ERROR]: E/ ScriptEngine::evalString script (no filename), failed!
2025-06-24 10:29:19.825 4041-4078 Cocos E 10:29:19 [ERROR]: E/ [ERROR] Failed to invoke require