7:01:41 [DEBUG]: JS: 100 100
2026-05-13 17:01:41.837 27301-12199 Cocos cocos.mrsjcl.com D 17:01:41 [DEBUG]: JS: 87.84999999999954 100
2026-05-13 17:01:41.838 27301-12199 Cocos cocos.mrsjcl.com D 17:01:41 [DEBUG]: JS: 100 100
2026-05-13 17:01:42.263 27301-12199 libc cocos.mrsjcl.com A Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 12199 (Thread-2), pid 27301 (ocos.mrsjcl.com)
2026-05-13 17:01:42.293 27301-12577 AudioMixerController cocos.mrsjcl.com V Mix a frame waste: 10.476000ms
2026-05-13 17:01:42.443 27301-12202 HwViewRootImpl cocos.mrsjcl.com D [DetectViewsLocationRunner] start to get views’ rect, type = SCENE_GESTURE_SINGLE_TAP
2026-05-13 17:01:42.444 27301-12202 HwViewRootImpl cocos.mrsjcl.com D [DetectViewsLocationRunner] windowModeType: 1
2026-05-13 17:01:42.444 27301-12202 HwViewRootImpl cocos.mrsjcl.com D [DetectViewsLocationRunner] displayPoint: Point(1600, 720)
2026-05-13 17:01:42.444 27301-12202 HwViewRootImpl cocos.mrsjcl.com D [DetectViewsLocationRunner] windowModeType: 1
2026-05-13 17:01:42.444 27301-12202 HwViewRootImpl cocos.mrsjcl.com D [DetectViewsLocationRunner] lazyMode:
2026-05-13 17:01:42.444 27301-12202 HwViewRootImpl cocos.mrsjcl.com D [DetectViewsLocationRunner] current mode is full screen
2026-05-13 17:01:42.445 27301-27301 HwViewRootImpl cocos.mrsjcl.com D [DetectViewsLocationRunner] start to getViewHierarchy
2026-05-13 17:01:42.445 27301-12202 HwViewRootImpl cocos.mrsjcl.com D [DetectViewsLocationRunner] deviceOrientation: 1
2026-05-13 17:01:42.445 27301-12202 HwViewRootImpl cocos.mrsjcl.com D [DetectViewsLocationRunner-ScreenDirection] ROTATION_90
2026-05-13 17:01:42.445 27301-12202 HwViewRootImpl cocos.mrsjcl.com D [DetectViewsLocationRunner] get views’ rect = 0, SCENE_GESTURE_SINGLE_TAP
2026-05-13 17:01:42.447 1277-1481 aptouch_daemon aptouch_daemon I Excute:86: cmd=TSA_ExecuteCommand, param=THP_UpdateViewsLocation cocos.mrsjcl.com#SCENE_GESTURE_SINGLE_TAP
2026-05-13 17:01:42.447 1277-1481 tpd_client aptouch_daemon I TSA_ExecuteCommand, THP_UpdateViewsLocation cocos.mrsjcl.com#SCENE_GESTURE_SINGLE_TAP
2026-05-13 17:01:43.025 14777-14777 DEBUG pid-14777 A Cmdline: cocos.mrsjcl.com
2026-05-13 17:01:43.025 14777-14777 DEBUG pid-14777 A pid: 27301, tid: 12199, name: Thread-2 >>> cocos.mrsjcl.com <<<
2026-05-13 17:01:43.025 14777-14777 DEBUG pid-14777 A #00 pc 000000000352e9d8 /data/app/~~a9uwnSe7KWug2cCxwAagYw==/cocos.mrsjcl.com-6x3GLnOJ03AGfQtrjlyTsA==/lib/arm64/libcocos.so (BuildId: 9635699f02938d4ba0e57fd0f91932f1786142e9)
2026-05-13 17:01:43.025 14777-14777 DEBUG pid-14777 A #01 pc 0000000003596dc8 /data/app/~~a9uwnSe7KWug2cCxwAagYw==/cocos.mrsjcl.com-6x3GLnOJ03AGfQtrjlyTsA==/lib/arm64/libcocos.so (BuildId: 9635699f02938d4ba0e57fd0f91932f1786142e9)
2026-05-13 17:01:43.025 14777-14777 DEBUG pid-14777 A #02 pc 000000000359591c /data/app/~~a9uwnSe7KWug2cCxwAagYw==/cocos.mrsjcl.com-6x3GLnOJ03AGfQtrjlyTsA==/lib/arm64/libcocos.so (BuildId: 9635699f02938d4ba0e57fd0f91932f1786142e9)
2026-05-13 17:01:43.025 14777-14777 DEBUG pid-14777 A #03 pc 00000000031f8f24 /data/app/~~a9uwnSe7KWug2cCxwAagYw==/cocos.mrsjcl.com-6x3GLnOJ03AGfQtrjlyTsA==/lib/arm64/libcocos.so (BuildId: 9635699f02938d4ba0e57fd0f91932f1786142e9)
2026-05-13 17:01:43.025 14777-14777 DEBUG pid-14777 A #04 pc 0000000002fcee44 /data/app/~~a9uwnSe7KWug2cCxwAagYw==/cocos.mrsjcl.com-6x3GLnOJ03AGfQtrjlyTsA==/lib/arm64/libcocos.so (se::Object::setArrayElement(unsigned int, se::Value const&)+264) (BuildId: 9635699f02938d4ba0e57fd0f91932f1786142e9)
2026-05-13 17:01:43.025 14777-14777 DEBUG pid-14777 A #05 pc 0000000002e069f8 /data/app/~~a9uwnSe7KWug2cCxwAagYw==/cocos.mrsjcl.com-6x3GLnOJ03AGfQtrjlyTsA==/lib/arm64/libcocos.so (BuildId: 9635699f02938d4ba0e57fd0f91932f1786142e9)
2026-05-13 17:01:43.025 14777-14777 DEBUG pid-14777 A #06 pc 0000000002fc7d48 /data/app/~~a9uwnSe7KWug2cCxwAagYw==/cocos.mrsjcl.com-6x3GLnOJ03AGfQtrjlyTsA==/lib/arm64/libcocos.so (jsbFunctionWrapper(v8::FunctionCallbackInfov8::Value const&, bool ()(se::State&), char const)+472) (BuildId: 9635699f02938d4ba0e57fd0f91932f1786142e9)
2026-05-13 17:01:43.025 14777-14777 DEBUG pid-14777 A #07 pc 0000000002e0671c /data/app/~~a9uwnSe7KWug2cCxwAagYw==/cocos.mrsjcl.com-6x3GLnOJ03AGfQtrjlyTsA==/lib/arm64/libcocos.so (js_spine_Skin_getAttachmentsRegistry(v8::FunctionCallbackInfov8::Value const&)+36) (BuildId: 9635699f02938d4ba0e57fd0f91932f1786142e9)
2026-05-13 17:01:43.025 14777-14777 DEBUG pid-14777 A #08 pc 0000000003e04824 /data/app/~~a9uwnSe7KWug2cCxwAagYw==/cocos.mrsjcl.com-6x3GLnOJ03AGfQtrjlyTsA==/lib/arm64/libcocos.so!libcocos.so (BuildId: 9635699f02938d4ba0e57fd0f91932f1786142e9)
2026-05-13 17:01:43.058 1596-14780 ActivityTaskManager system_server W finishTopCrashedActivityLocked Force finishing activity cocos.mrsjcl.com/com.cocos.game.AppActivity
2026-05-13 17:01:43.060 27301-14473 LifecycleTransaction cocos.mrsjcl.com I activityCallbacks TopResumedActivityChangeItem{onTop=false}
2026-05-13 17:01:43.061 1596-14780 HwActivity…rServiceEx system_server W appSwitch from: cocos.mrsjcl.com to: com.huawei.android.launcher
2026-05-13 17:01:43.061 1596-14780 HwActivity…rServiceEx system_server V takeTaskSnapShot package cocos.mrsjcl.com
2026-05-13 17:01:43.061 27301-27301 TopResumed…ChangeItem cocos.mrsjcl.com I execute start, ActivityClientRecord = ActivityRecord{ef46059 token=android.os.BinderProxy@69c3770 {cocos.mrsjcl.com/com.cocos.game.AppActivity}}
2026-05-13 17:01:43.062 1573-2588 DeferredProcess cameraserver D DeferredProcessingService.cpp:137 NotifyAppSwitch() fromPkg: cocos.mrsjcl.com, toPkg: com.huawei.android.launcher
2026-05-13 17:01:43.062 1596-14780 WindowManager system_server I Changing focus from Window{5db33a9 u0 cocos.mrsjcl.com/com.cocos.game.AppActivity} to null displayId=0
2026-05-13 17:01:43.063 3214-3251 {Assistant…pkNotifier com.huawei.systemserver I registerHwActivityNotifier call fromPackage:cocos.mrsjcl.com, toPackage:com.huawei.android.launcher
2026-05-13 17:01:43.063 3214-5271 {Assistant…pkNotifier com.huawei.systemserver D handleMessage app switch fromPackage:cocos.mrsjcl.com, toPackage:com.huawei.android.launcher
2026-05-13 17:01:43.064 3214-7394 Hicom_QosController com.huawei.systemserver D handleForegroundAppChanged pkgName:com.huawei.android.launcher, lastPkg:cocos.mrsjcl.com
2026-05-13 17:01:43.065 2875-4859 CapsuleManager com.android.systemui I onAppSwitch package=com.huawei.android.launcher, current=cocos.mrsjcl.com
2026-05-13 17:01:43.068 1596-14780 WindowManager system_server W Failed to take screenshot ActivityRecord{15804ce u0 cocos.mrsjcl.com/com.cocos.game.AppActivity t158 f}} mHadTakenSnapShot true
2026-05-13 17:01:43.071 27301-14473 LifecycleTransaction cocos.mrsjcl.com I lifecycleStateRequest PauseActivityItem{finished=true,userLeaving=false,configChanges=0,dontReport=false}
2026-05-13 17:01:43.077 3316-3587 ScenarioService com.huawei.iaware I app focus change from: cocos.mrsjcl.com to:com.huawei.android.launcher
2026-05-13 17:01:43.079 27301-27301 HwViewRootImpl cocos.mrsjcl.com I remove sceneId 10 topId: 14
2026-05-13 17:01:43.081 27301-27301 threaded_app cocos.mrsjcl.com V Pause: 0xb40000782a834e80
2026-05-13 17:01:43.082 1596-2162 ActivityManager system_server W Skipping native crash dialog of ProcessRecord{d754dbb 27301:cocos.mrsjcl.com/u0a278}
2026-05-13 17:01:43.082 1596-2991 HwActivity…rServiceEx system_server D loadRunningPackages packageInfo : pkg:com.huawei.appmarket visible:false, pkg:cocos.mrsjcl.com visible:true, pkg:com.huawei.android.launcher visible:true, pkg:com.huawei.browser visible:false, pkg:com.huawei.hwid visible:false, pkg:com.huawei.smarthome visible:false,
2026-05-13 17:01:43.083 1596-2247 SWAP_Scene system_server I Entering notifySceneData notifySceneData. EventType:APP_SWITCH_FROM pkg:cocos.mrsjcl.com uid:10278 pid:0 proc: activity:null
2026-05-13 17:01:43.083 3214-3251 Hicom_Monitor com.huawei.systemserver D AppSwitchNotifier not support app from:cocos.mrsjcl.com, to:com.huawei.android.launcher
2026-05-13 17:01:43.083 27301-12577 AudioMixerController cocos.mrsjcl.com V Play over …
2026-05-13 17:01:43.083 27301-12577 AudioMixerController cocos.mrsjcl.com V Doesn’t have enough tracks: 1, 1
2026-05-13 17:01:43.085 1596-4516 SWAP_AK system_server I BG cocos.mrsjcl.com M
---------------------------- PROCESS ENDED (27301) for package cocos.mrsjcl.com ----------------------------
2026-05-13 17:01:43.175 1596-7376 WindowManager system_server I WIN DEATH: Window{5db33a9 u0 cocos.mrsjcl.com/com.cocos.game.AppActivity}
let len = skin.getAttachments().length;
let attachments = skin.getAttachments();
for (let i = 0; i < len; i++) {
if (attachments[i].name == attachmentName) {
// console.log(attachmentName);
slot && slot.setAttachment(skin.getAttachments()[i].attachment);
}
}
然后换装代码主要用的这个,刚开始是可以的大概玩个几关后就直接闪退了