3.6.3构建失败

3d构建安卓项目失败。
2023-1-30 10:34:09-debug: =================================== Build Task (android) Start ================================
2023-1-30 10:34:09-debug: Build with Cocos Creator 3.6.3
2023-1-30 10:34:10-debug: // ---- build task cocos-service:onBeforeBuild ----
2023-1-30 10:34:10-debug: cocos-service:(onBeforeBuild) start…0%
2023-1-30 10:34:10-debug: Process: heapTotal 196.97MB heapUsed 183.42MB rss 486.72MB
2023-1-30 10:34:09-debug: Start build task, options:
{“name”:“MindYourStep”,“platform”:“android”,“buildPath”:“project://build”,“debug”:false,“md5Cache”:false,“skipCompressTexture”:false,“sourceMaps”:false,“polyfills”:{“asyncFunctions”:false},“experimentalEraseModules”:false,“useBuiltinServer”:false,“mainBundleIsRemote”:false,“mainBundleCompressionType”:“merge_dep”,“replaceSplashScreen”:false,“startScene”:“37eb24fa-faca-41de-bc6b-5523c6546bf7”,“outputName”:“android”,“scenes”:[{“url”:“db://assets/Scenes/Main.scene”,“uuid”:“37eb24fa-faca-41de-bc6b-5523c6546bf7”,“inBundle”:false}],“android”:[],“packages”:{“android”:{“packageName”:“com.cocos.android”,“orientation”:{“portrait”:false,“upsideDown”:false,“landscapeRight”:true,“landscapeLeft”:true},“apiLevel”:32,“appABIs”:[“arm64-v8a”],“useDebugKeystore”:true,“keystorePath”:"",“keystorePassword”:"",“keystoreAlias”:"",“keystoreAliasPassword”:"",“appBundle”:false,“androidInstant”:false,“remoteUrl”:"",“sdkPath”:"",“ndkPath”:"",“renderBackEnd”:{“vulkan”:false,“gles3”:true,“gles2”:true},“swappy”:false,“version”:“1.0.1”},“cocos-service”:{“configID”:“3e344a”,“services”:[{“service_id”:“235”,“service_component_name”:“service-analytics”,“builder”:“C:\Users\tom\.CocosCreator\.service\analytics\builder\builder.js”,“enable”:true,“params”:{“app_id”:“650449252”,“store_id”:“Android”}}],“version”:“3.0.5”},“native”:{“encrypted”:false,“xxteaKey”:“c3cSaslZJMNLC6GJ”,“compressZip”:false,“JobSystem”:“none”,“version”:“1.0.2”}},“version”:“1.3.3”}
2023-1-30 10:34:10-debug: // ---- build task cocos-service:onBeforeBuild ---- (262ms)
2023-1-30 10:34:10-debug: cocos-service:(onBeforeBuild) in 262 ms2%
2023-1-30 10:34:10-debug: Query all assets info in project
2023-1-30 10:34:10-debug: init custom config: keepNodeUuid: false, useCache: true
2023-1-30 10:34:10-debug: BuildAssetLibrary query-assets with assets 354
2023-1-30 10:34:10-debug: BuildAssetLibrary initialized with asset 478!
2023-1-30 10:34:10-debug: Number of other assets: 475
2023-1-30 10:34:10-debug: Number of all scenes: 1
2023-1-30 10:34:10-debug: Number of all scripts: 2
2023-1-30 10:34:10-debug: native:(onAfterInit) start…2%
2023-1-30 10:34:10-debug: // ---- build task native:onAfterInit ----
2023-1-30 10:34:10-debug: Process: heapTotal 197.27MB heapUsed 184.51MB rss 489.88MB
2023-1-30 10:34:10-debug: Native engine root:C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\resources\3d\engine\native
2023-1-30 10:34:10-debug: // ---- build task native:onAfterInit ---- (241ms)
2023-1-30 10:34:10-debug: native:(onAfterInit) in 241 ms3%
2023-1-30 10:34:10-debug: android:(onAfterInit) start…3%
2023-1-30 10:34:10-debug: // ---- build task android:onAfterInit ----
2023-1-30 10:34:10-debug: Process: heapTotal 209.22MB heapUsed 187.33MB rss 499.02MB
2023-1-30 10:34:10-debug: // ---- build task android:onAfterInit ---- (4ms)
2023-1-30 10:34:10-debug: android:(onAfterInit) in 4 ms3%
2023-1-30 10:34:10-debug: cocos-service:(onAfterInit) start…3%
2023-1-30 10:34:10-debug: Process: heapTotal 209.22MB heapUsed 187.39MB rss 499.04MB
2023-1-30 10:34:10-debug: // ---- build task cocos-service:onAfterInit ----
2023-1-30 10:34:11-debug: // ---- build task cocos-service:onAfterInit ---- (160ms)
2023-1-30 10:34:11-debug: // ---- build task localization-editor:onAfterInit ----
2023-1-30 10:34:11-debug: localization-editor:(onAfterInit) start…4%
2023-1-30 10:34:11-debug: cocos-service:(onAfterInit) in 160 ms4%
2023-1-30 10:34:11-debug: Process: heapTotal 209.22MB heapUsed 187.54MB rss 499.13MB
2023-1-30 10:34:11-debug: // ---- build task localization-editor:onAfterInit ---- (10ms)
2023-1-30 10:34:11-debug: 加载刷新项目脚本 start4%
2023-1-30 10:34:11-debug: // ---- build task 加载刷新项目脚本 ----
2023-1-30 10:34:11-debug: Process: heapTotal 209.22MB heapUsed 187.58MB rss 499.13MB
2023-1-30 10:34:11-debug: localization-editor:(onAfterInit) in 10 ms4%
2023-1-30 10:34:11-debug: reload all scripts.
2023-1-30 10:34:11-debug: Incremental keys:
2023-1-30 10:34:11-debug: Set detail map pack:///resolution-detail-map.json: {}
2023-1-30 10:34:11-debug: C:\MindYourStep\temp\programming\packer-driver\targets\editor\chunks\d0\d0b282b9748ef7fc7d2e7bd647d71b0f7e84da53.js resolved to C:\MindYourStep\temp\programming\packer-driver\targets\editor\chunks\d0\d0b282b9748ef7fc7d2e7bd647d71b0f7e84da53.js is not in module cache!
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/gfx-webgl2” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/base” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/gfx-webgl” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/animation” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/skeletal-animation” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/3d” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/ui” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/2d” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/particle” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/particle-2d” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/physics-framework” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/physics-2d-framework” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/intersection-2d” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/primitive” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/profiler” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/geometry-renderer” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/audio” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/video” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/xr” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/terrain” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/webview” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/tween” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/tiled-map” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/spine” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/dragon-bones” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/custom-pipeline” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/base” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/gfx-webgl2” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/gfx-webgl” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/3d” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/animation” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/2d” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/ui” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/particle-2d” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/physics-framework” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/physics-2d-framework” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/primitive” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/particle” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/skeletal-animation” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/profiler” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/intersection-2d” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/geometry-renderer” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/audio” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/video” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/xr” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/terrain” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/tween” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/webview” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/tiled-map” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/spine” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/dragon-bones” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “cce:/internal/x/cc-fu/custom-pipeline” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “pack:///chunks/d0/d0b282b9748ef7fc7d2e7bd647d71b0f7e84da53.js” loaded.
2023-1-30 10:34:11-debug: Invalidating ‘pack:///chunks/d0/d0b282b9748ef7fc7d2e7bd647d71b0f7e84da53.js’
2023-1-30 10:34:11-debug: [[Executor]] Module “pack:///chunks/d0/d0b282b9748ef7fc7d2e7bd647d71b0f7e84da53.js” loaded.
2023-1-30 10:34:11-debug: C:\MindYourStep\temp\programming\packer-driver\targets\editor\chunks\63\6324fd7f2a6a90bef45040fcb7ce34af0ba6a7d3.js resolved to C:\MindYourStep\temp\programming\packer-driver\targets\editor\chunks\63\6324fd7f2a6a90bef45040fcb7ce34af0ba6a7d3.js is not in module cache!
2023-1-30 10:34:11-debug: [[Executor]] Module “pack:///chunks/63/6324fd7f2a6a90bef45040fcb7ce34af0ba6a7d3.js” loaded.
2023-1-30 10:34:11-debug: C:\MindYourStep\temp\programming\packer-driver\targets\editor\chunks\8b\8b84070352ede3110b76849c9495136edcfae05f.js resolved to C:\MindYourStep\temp\programming\packer-driver\targets\editor\chunks\8b\8b84070352ede3110b76849c9495136edcfae05f.js is not in module cache!
2023-1-30 10:34:11-debug: C:\MindYourStep\temp\programming\packer-driver\targets\editor\chunks\be\be027f973d8ff1c6fe3dcfebbc993118a793ec1b.js resolved to C:\MindYourStep\temp\programming\packer-driver\targets\editor\chunks\be\be027f973d8ff1c6fe3dcfebbc993118a793ec1b.js is not in module cache!
2023-1-30 10:34:11-debug: C:\MindYourStep\temp\programming\packer-driver\targets\editor\chunks\21\21dcd43a5f9b880c591cfff5167b408c2820853a.js resolved to C:\MindYourStep\temp\programming\packer-driver\targets\editor\chunks\21\21dcd43a5f9b880c591cfff5167b408c2820853a.js is not in module cache!
2023-1-30 10:34:11-debug: [[Executor]] Register PlayerController
2023-1-30 10:34:11-debug: [[Executor]] Module “pack:///chunks/be/be027f973d8ff1c6fe3dcfebbc993118a793ec1b.js” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “pack:///chunks/21/21dcd43a5f9b880c591cfff5167b408c2820853a.js” loaded.
2023-1-30 10:34:11-warn: Found possible circular reference in “pack:///chunks/8b/8b84070352ede3110b76849c9495136edcfae05f.js”, happened when use “PlayController” imported from “./PlayController”
Error:
at Object.execute (file:///C:/MindYourStep/temp/programming/packer-driver/targets/editor/chunks/8b/file:/C:/MindYourStep/assets/Scripts/GameManager.ts:31:20)
at doExec (C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\node_modules@editor\lib-programming\static\executor\systemjs-bridge\out\index.js:517:30)
at postOrderExec (C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\node_modules@editor\lib-programming\static\executor\systemjs-bridge\out\index.js:508:21)
at C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\node_modules@editor\lib-programming\static\executor\systemjs-bridge\out\index.js:440:12
at file:///C:/MindYourStep/temp/programming/packer-driver/targets/editor/chunks/63/cce:/internal/x/prerequisite-imports:8:13
at Object.execute (file:///C:/MindYourStep/temp/programming/packer-driver/targets/editor/chunks/63/cce:/internal/x/prerequisite-imports:4:1)
at Executor._importPrerequisiteModules (C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\node_modules@editor\lib-programming\src\executor\index.ts:263:13)
at Executor.reload (C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\node_modules@editor\lib-programming\src\executor\index.ts:151:9)
at BuildTask.handle (C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\builtin\builder\dist\worker\builder\data-task\load-script.ccc:1:2386)
at BuildTask.runBuildTask (C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\builtin\builder\dist\worker\builder\index.ccc:1:8273)
2023-1-30 10:34:11-debug: [[Executor]] Register GameManager
2023-1-30 10:34:11-warn: You are explicitly specifying undefined type to cc property “playerCtrl” of cc class “GameManager”.
Is this intended? If not, this may indicate a circular reference.
For example:

// foo.ts
import { _decorator } from ‘cc’;
import { Bar } from ‘./bar’; // Given that ‘./bar’ also reference ‘foo.ts’.
// When importing ‘./bar’, execution of ‘./bar’ is hung on to wait execution of ‘foo.ts’,
// the Bar imported here is undefined until ‘./bar’ finish its execution.
// It leads to that
@_decorator.ccclass // ↓
export class Foo { // ↓
@_decorator.type(Bar) // → is equivalent to @_decorator.type(undefined)
public bar: Bar; // To eliminate this error, either:
// - Refactor your module structure(recommended), or
// - specify the type as cc class name: @_decorator.type('Bar'/* or any name you specified for Bar */)
}
2023-1-30 10:34:11-debug: [[Executor]] Module “pack:///chunks/8b/8b84070352ede3110b76849c9495136edcfae05f.js” loaded.
2023-1-30 10:34:11-debug: [[Executor]] Module “pack:///chunks/63/6324fd7f2a6a90bef45040fcb7ce34af0ba6a7d3.js” loaded.
2023-1-30 10:34:11-debug: // ---- build task 加载刷新项目脚本 ---- (101ms)
2023-1-30 10:34:11-debug: run build task 加载刷新项目脚本 success in 101 ms √6%
2023-1-30 10:34:11-debug: // ---- build task 查询 Asset Bundle ----
2023-1-30 10:34:11-debug: 查询 Asset Bundle start6%
2023-1-30 10:34:11-debug: Process: heapTotal 230.02MB heapUsed 211.91MB rss 531.73MB
2023-1-30 10:34:11-debug: // ---- build task 查询 Asset Bundle ---- (7ms)
2023-1-30 10:34:11-debug: run build task 查询 Asset Bundle success in 7 ms √7%
2023-1-30 10:34:11-debug: 查询使用的资源以及资源包配置 start7%
2023-1-30 10:34:11-debug: Process: heapTotal 230.02MB heapUsed 211.96MB rss 531.77MB
2023-1-30 10:34:11-debug: // ---- build task 查询使用的资源以及资源包配置 ----
2023-1-30 10:34:11-debug: Query preload assets from cc.config.json: 60f7195c-ec2a-45eb-ba94-8955f60e81d0,1c02ae6f-4492-4915-b8f8-7492a3b1e4cd,810e96e4-e456-4468-9b59-f4e8f39732c0,efe8e2a3-eace-427b-b4f1-cb8a937ec77d,e9aa9a3e-5b2b-4ac7-a2c7-073de2b2b24f,8bbdbcdd-5cd4-4100-b6d5-b7c9625b6107,50f4348b-c883-4e2f-8f11-ce233b859fa1,fda095cb-831d-4601-ad94-846013963de8,f92806d7-1768-443f-afe8-12bcde84d0f0,dd3a144d-ab7f-41f0-82b8-2e43a090d496,f0416e68-0200-4b77-a926-4f9d16e494da,1baf0fc9-befa-459c-8bdd-af1a450a0319,511d2633-09a7-4bdd-ac42-f778032124b3,5d45aa00-e064-4938-b314-4265f0c2258c,28d6d6b8-3f66-4a73-9795-17a0852ba2d4,ec8106fe-05bf-4e94-943c-e0d3b7bb5e45,620b6bf3-0369-4560-837f-2a2c00b73c26,ff9be190-20a4-4e48-b68c-76e3c7cff085,970b0598-bcb0-4714-91fb-2e81440dccd8,bcd64cc6-2dd9-43f6-abbe-66318d332032,d930590d-bb92-4cc8-8bd1-23cd027f9edf,a3cd009f-0ab0-420d-9278-b9fdab939bbc,9361fd90-ba52-4f84-aa93-6e878fd576ca,c27215d8-6835-4b68-bfbb-bdeac6100c04,b5d6115f-0370-4d7c-aad3-c194cc71cf98,d1346436-ac96-4271-b863-1f4fdead95b0,971bdb23-3ff6-43eb-b422-1c30165a3663,17debcc3-0a6b-4b8a-b00b-dc58b885581e,711ebe11-f673-4cd9-9a83-63c60ba54c5b,c0143906-9aed-447e-9436-2ae8512d1b6e,14da1725-c4c2-42b4-ab08-ee0aeb6898b3,081cab31-dccd-428e-8652-f2404cc81c47,78e0584a-4343-4727-8f37-e14e65c2a2db,ba21476f-2866-4f81-9c4d-6e359316e448,871c3b6c-7379-419d-bda3-794b239ab90d,1d08ef62-a503-4ce2-8b9a-46c90873f7d3
2023-1-30 10:34:11-debug: Number of scenes: 1
2023-1-30 10:34:11-debug: Number of assets: 96
2023-1-30 10:34:11-debug: Number of asset bundle: 2
2023-1-30 10:34:11-debug: // ---- build task 查询使用的资源以及资源包配置 ---- (88ms)
2023-1-30 10:34:11-debug: // ---- build task 整理脚本分组与脚本数据 ----
2023-1-30 10:34:11-debug: run build task 查询使用的资源以及资源包配置 success in 88 ms √8%
2023-1-30 10:34:11-debug: Process: heapTotal 224.16MB heapUsed 209.96MB rss 522.01MB
2023-1-30 10:34:11-debug: sort script group…
2023-1-30 10:34:11-debug: 整理脚本分组与脚本数据 start8%
2023-1-30 10:34:11-debug: // ---- build task 整理脚本分组与脚本数据 ---- (1ms)
2023-1-30 10:34:11-debug: run build task 整理脚本分组与脚本数据 success in 1 ms √9%
2023-1-30 10:34:11-debug: 整理纹理压缩任务 start9%
2023-1-30 10:34:11-debug: Process: heapTotal 224.16MB heapUsed 210.01MB rss 521.38MB
2023-1-30 10:34:11-debug: // ---- build task 整理纹理压缩任务 ----
2023-1-30 10:34:11-debug: Number of image-compress task: 0
2023-1-30 10:34:11-debug: run build task 整理纹理压缩任务 success in 8 ms √11%
2023-1-30 10:34:11-debug: 初步划分 JSON 合并分组 start11%
2023-1-30 10:34:11-debug: // ---- build task 整理纹理压缩任务 ---- (8ms)
2023-1-30 10:34:11-debug: Process: heapTotal 224.16MB heapUsed 210.13MB rss 521.64MB
2023-1-30 10:34:11-debug: // ---- build task 初步划分 JSON 合并分组 ----
2023-1-30 10:34:11-debug: Number of json group: 2
2023-1-30 10:34:11-debug: // ---- build task 初步划分 JSON 合并分组 ---- (1ms)
2023-1-30 10:34:11-debug: run build task 初步划分 JSON 合并分组 success in 1 ms √12%
2023-1-30 10:34:11-debug: 整理合并压缩 Texture2D 的 JSON 数据 start12%
2023-1-30 10:34:11-debug: // ---- build task 整理合并压缩 Texture2D 的 JSON 数据 ----
2023-1-30 10:34:11-debug: Process: heapTotal 224.16MB heapUsed 210.21MB rss 521.65MB
2023-1-30 10:34:11-debug: // ---- build task 整理合并压缩 Texture2D 的 JSON 数据 ---- (1ms)
2023-1-30 10:34:11-debug: run build task 整理合并压缩 Texture2D 的 JSON 数据 success in 1 ms √13%
2023-1-30 10:34:11-debug: Process: heapTotal 224.16MB heapUsed 210.25MB rss 521.68MB
2023-1-30 10:34:11-debug: // ---- build task 收集 importMap 信息 ----
2023-1-30 10:34:11-debug: 收集 importMap 信息 start13%
2023-1-30 10:34:11-debug: run build task 收集 importMap 信息 success in 0 ms √14%
2023-1-30 10:34:11-debug: native:(onBeforeBuildAssets) start…14%
2023-1-30 10:34:11-debug: // ---- build task native:onBeforeBuildAssets ----
2023-1-30 10:34:11-debug: Process: heapTotal 224.16MB heapUsed 210.30MB rss 521.68MB
2023-1-30 10:34:11-debug: // ---- build task native:onBeforeBuildAssets ---- (1ms)
2023-1-30 10:34:11-debug: localization-editor:(onBeforeBuildAssets) start…16%
2023-1-30 10:34:11-debug: native:(onBeforeBuildAssets) in 1 ms16%
2023-1-30 10:34:11-debug: // ---- build task localization-editor:onBeforeBuildAssets ----
2023-1-30 10:34:11-debug: Process: heapTotal 224.16MB heapUsed 210.35MB rss 521.69MB
2023-1-30 10:34:11-debug: // ---- build task localization-editor:onBeforeBuildAssets ---- (3ms)
2023-1-30 10:34:11-debug: localization-editor:(onBeforeBuildAssets) in 3 ms17%
2023-1-30 10:34:11-debug: 构建自动图集 start17%
2023-1-30 10:34:11-debug: Process: heapTotal 224.16MB heapUsed 210.39MB rss 521.69MB
2023-1-30 10:34:11-debug: Start collect pack info
2023-1-30 10:34:11-debug: // ---- build task 构建自动图集 ----
2023-1-30 10:34:11-debug: run build task 构建自动图集 success in 1 ms √23%
2023-1-30 10:34:11-debug: 图片拷贝压缩任务 start23%
2023-1-30 10:34:11-debug: // ---- build task 图片拷贝压缩任务 ----
2023-1-30 10:34:11-debug: // ---- build task 构建自动图集 ---- (1ms)
2023-1-30 10:34:11-debug: Process: heapTotal 224.16MB heapUsed 210.44MB rss 521.70MB
2023-1-30 10:34:11-debug: run build task 图片拷贝压缩任务 success in 0 ms √30%
2023-1-30 10:34:11-debug: 将资源拷贝到指定位置 start30%
2023-1-30 10:34:11-debug: // ---- build task 将资源拷贝到指定位置 ----
2023-1-30 10:34:11-debug: Asset Bundle(internal) handle assets: 36
2023-1-30 10:34:11-debug: Process: heapTotal 224.16MB heapUsed 210.47MB rss 521.70MB
2023-1-30 10:34:11-debug: Asset Bundle(main) handle assets: 61
2023-1-30 10:34:11-debug: // ---- build task 将资源拷贝到指定位置 ---- (52ms)
2023-1-30 10:34:11-debug: run build task 将资源拷贝到指定位置 success in 52 ms √37%
2023-1-30 10:34:11-debug: 将分组后的 json 与散文件构建到指定位置 start37%
2023-1-30 10:34:11-debug: // ---- build task 将分组后的 json 与散文件构建到指定位置 ----
2023-1-30 10:34:11-debug: Process: heapTotal 224.41MB heapUsed 211.10MB rss 529.34MB
2023-1-30 10:34:11-debug: Json group(06efdbec0) compile success,json number: 6
2023-1-30 10:34:11-debug: Json group(06797deb0) compile success,json number: 6
2023-1-30 10:34:11-debug: // ---- build task 将分组后的 json 与散文件构建到指定位置 ---- (110ms)
2023-1-30 10:34:11-debug: run build task 将分组后的 json 与散文件构建到指定位置 success in 110 ms √43%
2023-1-30 10:34:11-debug: 打包脚本 start43%
2023-1-30 10:34:11-debug: // ---- build task 打包脚本 ----
2023-1-30 10:34:11-debug: Process: heapTotal 236.18MB heapUsed 214.11MB rss 534.91MB
2023-1-30 10:34:11-debug: Caught exception during build core-js: WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

  • configuration.entry should be an non-empty array.
    -> A non-empty array of non-empty strings
    This may indicates the core-js polyfill is not necessary. See https://github.com/zloirock/core-js/issues/822
    2023-1-30 10:34:12-debug: 构建项目脚本 start…43%
    2023-1-30 10:34:12-debug: Process: heapTotal 241.98MB heapUsed 225.70MB rss 545.19MB
    2023-1-30 10:34:12-log: Run build task(build-script) in child, see: chrome://inspect/#devices
    2023-1-30 10:34:13-log: [build-script]enter sub process 10928, C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\CocosCreator.exe,C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\builtin\builder\static\sub-process-index

2023-1-30 10:34:15-debug: excute-script over with build-script 2982ms
2023-1-30 10:34:15-error: [build-script]Error: ‘PlayController’ is not exported by file:///C:/MindYourStep/assets/Scripts/PlayController.ts, imported by file:///C:/MindYourStep/assets/Scripts/GameManager.ts
at error (C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\node_modules\rollup\dist\shared\rollup.js:4533:30)
at Module.error (C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\node_modules\rollup\dist\shared\rollup.js:9917:16)
at Module.traceVariable (C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\node_modules\rollup\dist\shared\rollup.js:10310:29)
at ModuleScope.findVariable (C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\node_modules\rollup\dist\shared\rollup.js:8789:39)
at Identifier$1.bind (C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\node_modules\rollup\dist\shared\rollup.js:3982:40)
at Property$1.bind (C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\node_modules\rollup\dist\shared\rollup.js:2708:23)
at Property$1.bind (C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\node_modules\rollup\dist\shared\rollup.js:8403:15)
at ObjectExpression.bind (C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\node_modules\rollup\dist\shared\rollup.js:2704:31)
at ObjectExpression.bind (C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\node_modules\rollup\dist\shared\rollup.js:8094:15)
at CallExpression$1.bind (C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\node_modules\rollup\dist\shared\rollup.js:2704:31) {
code: ‘MISSING_EXPORT’,
url: ‘https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module’,
id: ‘file:///C:/MindYourStep/assets/Scripts/GameManager.ts’,
pos: 722,
loc: {
file: ‘file:///C:/MindYourStep/assets/Scripts/GameManager.ts’,
line: 12,
column: 9
},
frame: ‘10: \n’ +
“11: import { _decorator, Component, Prefab, instantiate, Node, Label, CCInteger, Vec3 } from ‘cc’;\n” +
‘12: import { PlayController } from “./PlayController”;\n’ +
’ ^\n’ +
‘13: const {\n’ +
‘14: ccclass,’,
watchFiles: [
‘virtual:///prerequisite-imports/internal’,
‘virtual:///prerequisite-imports/main’,
‘file:///C:/MindYourStep/assets/Scripts/GameManager.ts’,
‘file:///C:/MindYourStep/assets/Scripts/PlayController.ts’,
‘cce:/internal/rollupPluginModLoBabelHelpers.js’
]
}
2023-1-30 10:34:15-debug: excute-taskbuild-script failed!43%
2023-1-30 10:34:15-error: Error: excute-taskbuild-script failed!
at ChildProcess. (C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\builtin\builder\dist\worker\worker-pools\sub-process-manager.ccc:1:1830)
at ChildProcess.emit (events.js:315:20)
at emit (internal/child_process.js:903:12)
at processTicksAndRejections (internal/process/task_queues.js:81:21)
2023-1-30 10:34:15-error: Error: excute-taskbuild-script failed!
at ChildProcess. (C:\CocosDashboard_1.2.3\resources.editors\Creator\3.6.3\resources\app.asar\builtin\builder\dist\worker\worker-pools\sub-process-manager.ccc:1:1830)
at ChildProcess.emit (events.js:315:20)
at emit (internal/child_process.js:903:12)
at processTicksAndRejections (internal/process/task_queues.js:81:21)
2023-1-30 10:34:15-debug: ================================ Build Task (android) Finished in (5725)ms ================================

请问从哪里能看到原因??

请问好用了吗

是不是这里的报错?游戏代码里没有导出这个类?

暂时还不行

谢谢,还是不太行

我用的3.6.1的和你一毛一样的

o(╥﹏╥)o

那个就是导包的问题,你看你外部导包的api有没有提示缺失,缺失的修改就好了,他有打印日志,挺详细的,不过我又遇到问题了,打包出来的apk直接黑了,就闹腾,一步一坑

image

好的,谢谢


老哥,这个错误是什么意思。告诉我java home不一致,我不知道这个怎么会不一致

这个莫名其妙的解决了。谢谢

安卓打包环境配一下,他告诉你说获得不到环境变量映射