cocos打包成android的原理,Cocos Creator之Android的打包(Bug总结)

本文记录了在使用Cocos Creator打包Android应用时遇到的问题,包括构建成功但生成失败的日志错误,提示Browserslist数据库过时。通过更新Browserslist数据库和检查SDK路径,最终成功打包。
摘要由CSDN通过智能技术生成

一: 情景

总结楼主打包Android时的错误二: Bug

Ⅰ,构建成功,生成失败 ,日志没有报错,但是控制台有报错 ( CC 3.0.1 )

①,日志如下:

2021-4-19 20-59-debug: "Start build task, options:"{"name":"Demo210419","platform":"android","buildPath":"./build","debug":false,"md5Cache":false,"sourceMaps":false,"replaceSplashScreen":false,"mainBundleCompressionType":"merge_dep","mainBundleIsRemote":false,"mergeStartScene":false,"experimentalEraseModules":false,"compressTexture":true,"packAutoAtlas":true,"startScene":"7c3e7fab-7b1e-4865-ba84-3cf81b48b9fb","scenes":[{"url":"db://assets/scene/main.scene","uuid":"7c3e7fab-7b1e-4865-ba84-3cf81b48b9fb"},{"url":"db://assets/scene/proto.scene","uuid":"59492cc3-2fc8-4ab7-a28a-a5bd34cbf17e"}],"outputName":"android","packages":{"cocos-service":{"configID":"ce8ed7","services":[]},"native":{"template":"link","polyfills":{"asyncFunctions":true},"encrypted":false,"xxteaKey":"7f6d4tbDZCUpDppP","compressZip":false,"makeAfterBuild":false},"android":{"packageName":"com.cocos.android","orientation":{"portrait":false,"upsideDown":false,"landscapeRight":true,"landscapeLeft":true},"apiLevel":"android-29","appABIs":["armeabi-v7a"],"useDebugKeystore":true,"keystorePath":"","keystorePassword":"","keystoreAlias":"","keystoreAliasPassword":"","appBundle":false,"androidInstant":false,"remoteUrl":"","sdkPath":"D:\\soft\\sdk","ndkPath":"D:\\soft\\sdk\\ndk\\19.0.5232133","renderBackEnd":{"vulkan":false,"gles3":true,"gles2":false}}}}

2021-4-19 20-59-debug: "cocos-service:(onBeforeBuild) start...""0%"

2021-4-19 20-59-debug: "Process: heapTotal 158.80MB heapUsed 148.83MB rss 273.24MB"

2021-4-19 20-59-debug: "// ---- cocos-service:(onBeforeBuild) ----"

2021-4-19 20-59-debug: "// ---- cocos-service:(onBeforeBuild) success ----"

2021-4-19 20-59-debug: "cocos-service:(onBeforeBuild)""4%"

2021-4-19 20-59-debug: "Query all assets info in project"

2021-4-19 20-59-debug: "BuildAssetLibrary initialized with asset 316!"

2021-4-19 20-59-debug: "  Number of all scenes: 2"

2021-4-19 20-59-debug: "  Number of all scripts: 3"

2021-4-19 20-59-debug: "native:(onAfterInit) start...""4%"

2021-4-19 20-59-debug: "// ---- native:(onAfterInit) ----"

2021-4-19 20-59-debug: "Process: heapTotal 159.00MB heapUsed 149.98MB rss 274.14MB"

2021-4-19 20-59-debug: "  Number of other assets: 384"

2021-4-19 20-59-debug: "Native engine root:D:\\soft\\CocosDashboard\\resources\\.editors\\Creator\\3.0.1\\resources\\resources\\3d\\cocos2d-x-lite"

2021-4-19 20-59-warn: "Browserslist: caniuse-lite is outdated. Please run the following command: `npx browserslist --update-db`"

2021-4-19 20-59-debug: "// ---- native:(onAfterInit) success ----"

2021-4-19 20-59-debug: "native:(onAfterInit)""8%"

2021-4-19 20-59-debug: "android:(onAfterInit) start...""8%"

2021-4-19 20-59-debug: "// ---- android:(onAfterInit) ----"

2021-4-19 20-59-debug: "Process: heapTotal 178.20MB heapUsed 164.98MB rss 297.45MB"

2021-4-19 20-59-debug: "// ---- android:(onAfterInit) success ----"

2021-4-19 20-59-debug: "android:(onAfterInit)""11%"

2021-4-19 20-59-debug: "加载刷新项目脚本 start""11%"

2021-4-19 20-59-log: "// ---- 加载刷新项目脚本 ----"

2021-4-19 20-59-debug: "Process: heapTotal 178.20MB heapUsed 165.03MB rss 297.45MB"

2021-4-19 20-59-debug: "reload all scripts."

2021-4-19 20-59-debug: "Loading plugin script db://assets/plugins/protobuf.min.js"

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/base\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/gfx-webgl\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/gfx-webgl2\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/3d\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/2d\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/particle\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/ui\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/physics-framework\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/physics-2d-framework\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/intersection-2d\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/profiler\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/particle-2d\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/video\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/terrain\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/webview\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/tween\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/tiled-map\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/spine\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/dragon-bones\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"pack:///mods/cce/internal/x/cc.js\" loaded."

2021-4-19 20-59-debug: "Invalidating 'pack:///mods/cce/internal/x/cc.js'"

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/primitive\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"pack:///mods/cce/internal/x/prerequisite-imports.js\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"pack:///mods/cce/internal/code-quality/cr.js\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"pack:///mods/file/D:/Cocos/Demo210419/assets/plugins/protobufloginProto.js\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"pack:///mods/file/D:/Cocos/Demo210419/assets/plugins/protobufloginProto.proxy.js?cjs&original=.js\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Register ProtoTDemo"

2021-4-19 20-59-debug: "[[Executor]] Module \"pack:///mods/file/D:/Cocos/Demo210419/assets/scripts/modules/ProtoTDemo.js\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"pack:///mods/cce/internal/x/prerequisite-imports.js\" loaded."

2021-4-19 20-59-debug: "加载刷新项目脚本 √""14%"

2021-4-19 20-59-debug: "查询 asset bundle start""14%"

2021-4-19 20-59-log: "// ---- 查询 asset bundle ----"

2021-4-19 20-59-debug: "Process: heapTotal 182.20MB heapUsed 165.52MB rss 298.30MB"

2021-4-19 20-59-debug: "[[Executor]] Module \"pack:///mods/cce/internal/ml/cjs-loader.js\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"pack:///mods/cce/internal/x/cc.js\" loaded."

2021-4-19 20-59-debug: "[[Executor]] Module \"cce:/internal/x/cc-fu/audio\" loaded."

2021-4-19 20-59-debug: "查询 asset bundle √""17%"

2021-4-19 20-59-debug: "查询使用的资源以及资源包配置 start""17%"

2021-4-19 20-59-log: "// ---- 查询使用的资源以及资源包配置 ----"

2021-4-19 20-59-debug: "Process: heapTotal 182.20MB heapUsed 165.59MB rss 298.32MB"

2021-4-19 20-59-debug: "Number of scenes: 2"

2021-4-19 20-59-debug: "Number of assets: 56"

2021-4-19 20-59-debug: "Number of asset bundle: 1"

2021-4-19 20-59-debug: "查询使用的资源以及资源包配置 √""20%"

2021-4-19 20-59-debug: "整理脚本分组与脚本数据 start""20%"

2021-4-19 20-59-log: "// ---- 整理脚本分组与脚本数据 ----"

2021-4-19 20-59-debug: "Process: heapTotal 182.58MB heapUsed 167.38MB rss 301.61MB"

2021-4-19 20-59-debug: "sort script group..."

2021-4-19 20-59-debug: "整理脚本分组与脚本数据 √""23%"

2021-4-19 20-59-debug: "整理纹理压缩任务 start""23%"

2021-4-19 20-59-log: "// ---- 整理纹理压缩任务 ----"

2021-4-19 20-59-debug: "Process: heapTotal 182.58MB heapUsed 167.41MB rss 301.64MB"

2021-4-19 20-59-debug: "Number of image-compress task: 0"

2021-4-19 20-59-debug: "整理纹理压缩任务 √""26%"

2021-4-19 20-59-debug: "初步划分 json 合并分组 start""26%"

2021-4-19 20-59-log: "// ---- 初步划分 json 合并分组 ----"

2021-4-19 20-59-debug: "Process: heapTotal 182.58MB heapUsed 167.50MB rss 301.73MB"

2021-4-19 20-59-debug: "Number of json group: 1"

2021-4-19 20-59-debug: "初步划分 json 合并分组 √""28%"

2021-4-19 20-59-debug: "整理合并压缩 Texture2D 的 json 数据 start""28%"

2021-4-19 20-59-log: "// ---- 整理合并压缩 Texture2D 的 json 数据 ----"

2021-4-19 20-59-debug: "Process: heapTotal 182.58MB heapUsed 167.57MB rss 301.80MB"

2021-4-19 20-59-debug: "整理合并压缩 Texture2D 的 json 数据 √""31%"

2021-4-19 20-59-debug: "Process: heapTotal 182.58MB heapUsed 167.60MB rss 301.88MB"

2021-4-19 20-59-debug: " start""31%"

2021-4-19 20-59-log: "// ----  ----"

2021-4-19 20-59-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.\n - configuration.entry should be an non-empty array.\n   -> A non-empty array of non-empty strings\nThis may indicates the core-js polyfill is not necessary. See https://github.com/zloirock/core-js/issues/822"

2021-4-19 20-59-warn: "Browserslist: caniuse-lite is outdated. Please run:\nnpx browserslist@latest --update-db"

2021-4-19 20-59-debug: "打包脚本""31%"

2021-4-19 20-59-debug: "Process: heapTotal 175.96MB heapUsed 154.97MB rss 289.23MB"

2021-4-19 20-59-log: "debug: Create cjs interop url for 'file:///D:/Cocos/Demo210419/assets/plugins/protobufloginProto.js'"

2021-4-19 20-59-debug: "Copy externalScripts success!"

2021-4-19 20-59-debug: "打包脚本√""31%"

2021-4-19 20-59-debug: "构建引擎""31%"

2021-4-19 20-59-debug: "Process: heapTotal 182.96MB heapUsed 159.03MB rss 297.41MB"

2021-4-19 20-59-debug: "Engine cache ({link(C:\\Users\\admin\\AppData\\Local\\Temp\\CocosCreator\\3.0.1\\builder\\engine\\7d1fc8a41de2a9ae1542091a14c24ebd)}) does not exist."

2021-4-19 20-59-debug: {"incremental":"C:\\Users\\admin\\AppData\\Local\\Temp\\CocosCreator\\3.0.1\\builder\\engine\\7d1fc8a41de2a9ae1542091a14c24ebd.watch-files.json","engine":"D:\\soft\\CocosDashboard\\resources\\.editors\\Creator\\3.0.1\\resources\\resources\\3d\\engine","out":"C:\\Users\\admin\\AppData\\Local\\Temp\\CocosCreator\\3.0.1\\builder\\engine\\7d1fc8a41de2a9ae1542091a14c24ebd","moduleFormat":2,"compress":true,"buildTimeConstants":{"HTML5":false,"WECHAT":false,"ALIPAY":false,"BAIDU":false,"XIAOMI":false,"BYTEDANCE":false,"OPPO":false,"VIVO":false,"HUAWEI":false,"NATIVE":true,"COCOSPLAY":false,"LINKSURE":false,"QTT":false,"EDITOR":false,"PREVIEW":false,"BUILD":true,"TEST":false,"DEBUG":false,"DEV":false,"RUNTIME_BASED":false,"MINIGAME":false,"JSB":true,"SUPPORT_JIT":true},"loose":true,"features":["base","gfx-webgl","3d","2d","ui","particle","physics-ammo","physics-2d-box2d","intersection-2d","primitive","profiler","particle-2d","audio","video","webview","tween","terrain","tiled-map","spine","dragon-bones"],"platform":"NATIVE","mode":"BUILD"}

2021-4-19 20-59-debug: "Build-engine options: {\n  \"incremental\": \"C:\\\\Users\\\\admin\\\\AppData\\\\Local\\\\Temp\\\\CocosCreator\\\\3.0.1\\\\builder\\\\engine\\\\7d1fc8a41de2a9ae1542091a14c24ebd.watch-files.json\",\n  \"engine\": \"D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\",\n  \"out\": \"C:\\\\Users\\\\admin\\\\AppData\\\\Local\\\\Temp\\\\CocosCreator\\\\3.0.1\\\\builder\\\\engine\\\\7d1fc8a41de2a9ae1542091a14c24ebd\",\n  \"moduleFormat\": 2,\n  \"compress\": true,\n  \"buildTimeConstants\": {\n    \"HTML5\": false,\n    \"WECHAT\": false,\n    \"ALIPAY\": false,\n    \"BAIDU\": false,\n    \"XIAOMI\": false,\n    \"BYTEDANCE\": false,\n    \"OPPO\": false,\n    \"VIVO\": false,\n    \"HUAWEI\": false,\n    \"NATIVE\": true,\n    \"COCOSPLAY\": false,\n    \"LINKSURE\": false,\n    \"QTT\": false,\n    \"EDITOR\": false,\n    \"PREVIEW\": false,\n    \"BUILD\": true,\n    \"TEST\": false,\n    \"DEBUG\": false,\n    \"DEV\": false,\n    \"RUNTIME_BASED\": false,\n    \"MINIGAME\": false,\n    \"JSB\": true,\n    \"SUPPORT_JIT\": true\n  },\n  \"loose\": true,\n  \"features\": [\n    \"base\",\n    \"gfx-webgl\",\n    \"3d\",\n    \"2d\",\n    \"ui\",\n    \"particle\",\n    \"physics-ammo\",\n    \"physics-2d-box2d\",\n    \"intersection-2d\",\n    \"primitive\",\n    \"profiler\",\n    \"particle-2d\",\n    \"audio\",\n    \"video\",\n    \"webview\",\n    \"tween\",\n    \"terrain\",\n    \"tiled-map\",\n    \"spine\",\n    \"dragon-bones\"\n  ],\n  \"platform\": \"NATIVE\",\n  \"mode\": \"BUILD\",\n  \"targets\": \"chrome 80\"\n}"

2021-4-19 20-59-debug: "Eval \"context.mode === 'BUILD'\" to true"

2021-4-19 20-59-debug: "Eval \"context.platform === 'NATIVE'\" to true"

2021-4-19 20-59-debug: "Module source \"internal-constants\":\nexport const EXPORT_TO_GLOBAL = true;\nexport const HTML5 = false;\nexport const WECHAT = false;\nexport const ALIPAY = false;\nexport const BAIDU = false;\nexport const XIAOMI = false;\nexport const BYTEDANCE = false;\nexport const OPPO = false;\nexport const VIVO = false;\nexport const HUAWEI = false;\nexport const NATIVE = true;\nexport const COCOSPLAY = false;\nexport const LINKSURE = false;\nexport const QTT = false;\nexport const EDITOR = false;\nexport const PREVIEW = false;\nexport const BUILD = true;\nexport const TEST = false;\nexport const DEBUG = false;\nexport const DEV = false;\nexport const RUNTIME_BASED = false;\nexport const MINIGAME = false;\nexport const JSB = true;\nexport const SUPPORT_JIT = true;"

2021-4-19 20-59-debug: "Module source \"cc\":\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\base.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\gfx-webgl.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\3d.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\2d.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\ui.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\particle.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\physics-ammo.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\physics-framework.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\physics-2d-box2d.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\physics-2d-framework.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\intersection-2d.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\primitive.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\profiler.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\particle-2d.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\audio.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\video.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\webview.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\tween.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\terrain.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\tiled-map.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\spine.ts';\nexport * from 'D:\\\\soft\\\\CocosDashboard\\\\resources\\\\.editors\\\\Creator\\\\3.0.1\\\\resources\\\\resources\\\\3d\\\\engine\\\\exports\\\\dragon-bones.ts';"

2021-4-19 20-59-debug: "Redirect module D:\\soft\\CocosDashboard\\resources\\.editors\\Creator\\3.0.1\\resources\\resources\\3d\\engine\\cocos\\spine\\index.ts to D:\\soft\\CocosDashboard\\resources\\.editors\\Creator\\3.0.1\\resources\\resources\\3d\\engine\\cocos\\spine\\index.jsb.ts"

2021-4-19 20-59-debug: "Redirect module D:\\soft\\CocosDashboard\\resources\\.editors\\Creator\\3.0.1\\resources\\resources\\3d\\engine\\cocos\\dragon-bones\\index.ts to D:\\soft\\CocosDashboard\\resources\\.editors\\Creator\\3.0.1\\resources\\resources\\3d\\engine\\cocos\\dragon-bones\\index.jsb.ts"

2021-4-19 20-59-debug: "Redirect module D:\\soft\\CocosDashboard\\resources\\.editors\\Creator\\3.0.1\\resources\\resources\\3d\\engine\\cocos\\core\\gfx\\index.ts to D:\\soft\\CocosDashboard\\resources\\.editors\\Creator\\3.0.1\\resources\\resources\\3d\\engine\\cocos\\core\\gfx\\index.jsb.ts"

2021-4-19 20-59-debug: "Redirect module D:\\soft\\CocosDashboard\\resources\\.editors\\Creator\\3.0.1\\resources\\resources\\3d\\engine\\cocos\\core\\pipeline\\index.ts to D:\\soft\\CocosDashboard\\resources\\.editors\\Creator\\3.0.1\\resources\\resources\\3d\\engine\\cocos\\core\\pipeline\\index.jsb.ts"

2021-4-19 20-59-debug: "Redirect module D:\\soft\\CocosDashboard\\resources\\.editors\\Creator\\3.0.1\\resources\\resources\\3d\\engine\\cocos\\core\\gfx\\pipeline-state.ts to D:\\soft\\CocosDashboard\\resources\\.editors\\Creator\\3.0.1\\resources\\resources\\3d\\engine\\cocos\\core\\gfx\\pipeline-state.jsb.ts"

2021-4-19 20-59-debug: "Redirect module D:\\soft\\CocosDashboard\\resources\\.editors\\Creator\\3.0.1\\resources\\resources\\3d\\engine\\cocos\\core\\renderer\\core\\native-pools.ts to D:\\soft\\CocosDashboard\\resources\\.editors\\Creator\\3.0.1\\resources\\resources\\3d\\engine\\cocos\\core\\renderer\\core\\native-pools.jsb.ts"

2021-4-19 20-59-warn: "The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten"

2021-4-19 20-59-warn: "The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten"

2021-4-19 20-59-debug: "Redirect module D:\\soft\\CocosDashboard\\resources\\.editors\\Creator\\3.0.1\\resources\\resources\\3d\\engine\\cocos\\core\\data\\deserialize-dynamic.ts to D:\\soft\\CocosDashboard\\resources\\.editors\\Creator\\3.0.1\\resources\\resources\\3d\\engine\\cocos\\core\\data\\deserialize-dynamic-empty.ts"

2021-4-19 20-59-warn: "The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten"

2021-4-19 20-59-warn: "The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten"

2021-4-19 20-59-warn: "'isWasm' is not exported by 'resources\\.editors\\Creator\\3.0.1\\resources\\resources\\3d\\engine\\node_modules\\@cocos\\ammo\\builds\\node\\ammo.cocos.js'"

2021-4-19 20-59-warn: "'wasmBinaryURL' is not exported by 'resources\\.editors\\Creator\\3.0.1\\resources\\resources\\3d\\engine\\node_modules\\@cocos\\ammo\\builds\\node\\ammo.cocos.js'"

2021-4-19 21-00-debug: "构建引擎√""31%"

2021-4-19 21-00-debug: " √""37%"

2021-4-19 21-00-debug: "构建自动图集 start""37%"

2021-4-19 21-00-log: "// ---- 构建自动图集 ----"

2021-4-19 21-00-debug: "Process: heapTotal 562.18MB heapUsed 539.38MB rss 699.84MB"

2021-4-19 21-00-debug: "构建自动图集 √""43%"

2021-4-19 21-00-debug: "图片拷贝压缩任务 start""43%"

2021-4-19 21-00-log: "// ---- 图片拷贝压缩任务 ----"

2021-4-19 21-00-debug: "Process: heapTotal 562.18MB heapUsed 539.42MB rss 699.87MB"

2021-4-19 21-00-debug: "将资源拷贝到指定位置 start""48%"

2021-4-19 21-00-debug: "Process: heapTotal 562.18MB heapUsed 539.44MB rss 699.89MB"

2021-4-19 21-00-debug: "图片拷贝压缩任务 √""48%"

2021-4-19 21-00-log: "// ---- 将资源拷贝到指定位置 ----"

2021-4-19 21-00-debug: "Asset Bundle(main) handle assets: 56"

2021-4-19 21-00-debug: "将资源拷贝到指定位置 √""54%"

2021-4-19 21-00-debug: "将分组后的 json 与散文件构建到指定位置 start""54%"

2021-4-19 21-00-log: "// ---- 将分组后的 json 与散文件构建到指定位置 ----"

2021-4-19 21-00-debug: "Process: heapTotal 565.18MB heapUsed 539.78MB rss 697.44MB"

2021-4-19 21-00-debug: "Json group(build-task/json) compile success,json number: 6"

2021-4-19 21-00-debug: "将分组后的 json 与散文件构建到指定位置 √""60%"

2021-4-19 21-00-debug: "压缩 zip bundle start""60%"

2021-4-19 21-00-log: "// ---- 压缩 zip bundle ----"

2021-4-19 21-00-debug: "Process: heapTotal 569.93MB heapUsed 541.88MB rss 705.61MB"

2021-4-19 21-00-debug: "压缩 zip bundle √""66%"

2021-4-19 21-00-debug: "给所有的资源加上 md5 后缀 start""66%"

2021-4-19 21-00-log: "// ---- 给所有的资源加上 md5 后缀 ----"

2021-4-19 21-00-debug: "Process: heapTotal 569.93MB heapUsed 541.90MB rss 705.61MB"

2021-4-19 21-00-debug: "给所有的资源加上 md5 后缀 √""71%"

2021-4-19 21-00-debug: "初始化 settings 与 config start""71%"

2021-4-19 21-00-log: "// ---- 初始化 settings 与 config ----"

2021-4-19 21-00-debug: "Process: heapTotal 569.93MB heapUsed 541.92MB rss 705.61MB"

2021-4-19 21-00-debug: "初始化 settings 与 config √""72%"

2021-4-19 21-00-debug: "tasks.settings.macro字段未在编辑器多语言内定义"

2021-4-19 21-00-debug: "tasks.settings.macro start""72%"

2021-4-19 21-00-log: "// ---- tasks.settings.macro ----"

2021-4-19 21-00-debug: "Process: heapTotal 569.93MB heapUsed 541.95MB rss 705.61MB"

2021-4-19 21-00-debug: "tasks.settings.macro √""72%"

2021-4-19 21-00-debug: "使用缓存 settings start""72%"

2021-4-19 21-00-log: "// ---- 使用缓存 settings ----"

2021-4-19 21-00-debug: "Process: heapTotal 569.93MB heapUsed 542.02MB rss 705.65MB"

2021-4-19 21-00-debug: "使用缓存 settings √""73%"

2021-4-19 21-00-debug: "custom joint texture layouts start""73%"

2021-4-19 21-00-log: "// ---- custom joint texture layouts ----"

2021-4-19 21-00-debug: "Process: heapTotal 569.93MB heapUsed 542.12MB rss 705.65MB"

2021-4-19 21-00-debug: "custom joint texture layouts √""73%"

2021-4-19 21-00-debug: "custom joint physics start""73%"

2021-4-19 21-00-log: "// ---- custom joint physics ----"

2021-4-19 21-00-debug: "Process: heapTotal 569.93MB heapUsed 542.15MB rss 705.65MB"

2021-4-19 21-00-debug: "custom joint physics √""74%"

2021-4-19 21-00-debug: "填充脚本数据到 settings start""74%"

2021-4-19 21-00-log: "// ---- 填充脚本数据到 settings ----"

2021-4-19 21-00-debug: "Process: heapTotal 569.93MB heapUsed 542.17MB rss 705.65MB"

2021-4-19 21-00-debug: "填充脚本数据到 settings √""75%"

2021-4-19 21-00-debug: "填充场景数据到 settings start""75%"

2021-4-19 21-00-log: "// ---- 填充场景数据到 settings ----"

2021-4-19 21-00-debug: "填充场景数据到 settings √""75%"

2021-4-19 21-00-debug: "Process: heapTotal 569.93MB heapUsed 542.20MB rss 705.65MB"

2021-4-19 21-00-debug: "整理 assets 分组,生成 packedAssets 以及 rawAssets 数据 start""75%"

2021-4-19 21-00-log: "// ---- 整理 assets 分组,生成 packedAssets 以及 rawAssets 数据 ----"

2021-4-19 21-00-debug: "Process: heapTotal 569.93MB heapUsed 542.22MB rss 705.65MB"

2021-4-19 21-00-debug: "整理 assets 分组,生成 packedAssets 以及 rawAssets 数据 √""76%"

2021-4-19 21-00-debug: "从 suffixMap 生成 md5AssetsMap 到 settings start""76%"

2021-4-19 21-00-log: "// ---- 从 suffixMap 生成 md5AssetsMap 到 settings ----"

2021-4-19 21-00-debug: "Process: heapTotal 569.93MB heapUsed 542.25MB rss 705.65MB"

2021-4-19 21-00-debug: "native:(onBeforeCompressSettings) start...""76%"

2021-4-19 21-00-debug: "// ---- native:(onBeforeCompressSettings) ----"

2021-4-19 21-00-debug: "从 suffixMap 生成 md5AssetsMap 到 settings √""76%"

2021-4-19 21-00-debug: "Process: heapTotal 569.93MB heapUsed 542.27MB rss 705.65MB"

2021-4-19 21-00-debug: "options.md5Cache is false."

2021-4-19 21-00-log: "[plugin New]: running ..."

2021-4-19 21-00-log: "update gradle.prperties"

2021-4-19 21-00-log: "AndroidAPI level 27"

2021-4-19 21-00-log: "android instant not configured"

2021-4-19 21-00-debug: "generateCMakeConfig, {\"CC_USE_GLES3\":\"set(CC_USE_GLES3 ON)\",\"CC_USE_GLES2\":\"set(CC_USE_GLES2 OFF)\",\"APP_NAME\":\"set(APP_NAME Demo210419)\",\"COCOS_X_PATH\":\"set(COCOS_X_PATH \\\"D:/soft/CocosDashboard/resources/.editors/Creator/3.0.1/resources/resources/3d/cocos2d-x-lite\\\")\",\"CC_USE_VULKAN\":\"set(CC_USE_VULKAN OFF)\",\"USE_AUDIO\":\"set(USE_AUDIO ON)\",\"USE_VIDEO\":\"set(USE_VIDEO ON)\",\"USE_WEBVIEW\":\"set(USE_WEBVIEW ON)\",\"USE_SPINE\":\"set(USE_SPINE ON)\",\"USE_DRAGONBONES\":\"set(USE_DRAGONBONES ON)\"}"

2021-4-19 21-00-log: "  [plugin New]: done!"

2021-4-19 21-00-debug: "// ---- native:(onBeforeCompressSettings) success ----"

2021-4-19 21-00-debug: "native:(onBeforeCompressSettings)""80%"

2021-4-19 21-00-debug: "cocos-service:(onBeforeCompressSettings) start...""80%"

2021-4-19 21-00-debug: "// ---- cocos-service:(onBeforeCompressSettings) ----"

2021-4-19 21-00-debug: "Process: heapTotal 569.93MB heapUsed 544.19MB rss 705.80MB"

2021-4-19 21-00-debug: "// ---- cocos-service:(onBeforeCompressSettings) success ----"

2021-4-19 21-00-debug: "cocos-service:(onBeforeCompressSettings)""84%"

2021-4-19 21-00-debug: "压缩 config.json 与 settings.js start""84%"

2021-4-19 21-00-log: "// ---- 压缩 config.json 与 settings.js ----"

2021-4-19 21-00-debug: "Process: heapTotal 569.93MB heapUsed 544.25MB rss 705.80MB"

2021-4-19 21-00-debug: "压缩 config.json 与 settings.js √""85%"

2021-4-19 21-00-debug: "保存 config.json start""85%"

2021-4-19 21-00-log: "// ---- 保存 config.json ----"

2021-4-19 21-00-debug: "保存 config.json √""86%"

2021-4-19 21-00-debug: "Process: heapTotal 569.93MB heapUsed 544.31MB rss 705.80MB"

2021-4-19 21-00-debug: "保存 settings.json √""87%"

2021-4-19 21-00-debug: "整理静态模板文件 start""87%"

2021-4-19 21-00-log: "// ---- 整理静态模板文件 ----"

2021-4-19 21-00-debug: "Process: heapTotal 569.93MB heapUsed 544.44MB rss 705.80MB"

2021-4-19 21-00-debug: "整理静态模板文件 √""89%"

2021-4-19 21-00-debug: "cocos-service:(onAfterCompressSettings) start...""89%"

2021-4-19 21-00-debug: "// ---- cocos-service:(onAfterCompressSettings) ----"

2021-4-19 21-00-debug: "Process: heapTotal 570.43MB heapUsed 544.62MB rss 706.07MB"

2021-4-19 21-00-debug: "保存 settings.json start""86%"

2021-4-19 21-00-log: "// ---- 保存 settings.json ----"

2021-4-19 21-00-debug: "Process: heapTotal 569.93MB heapUsed 544.35MB rss 705.80MB"

2021-4-19 21-00-debug: "// ---- cocos-service:(onAfterCompressSettings) success ----"

2021-4-19 21-00-debug: "cocos-service:(onAfterCompressSettings)""92%"

2021-4-19 21-00-debug: "// ---- native:(onAfterBuild) ----"

2021-4-19 21-00-debug: "native:(onAfterBuild) start...""92%"

2021-4-19 21-00-debug: "Process: heapTotal 570.43MB heapUsed 545.11MB rss 706.09MB"

2021-4-19 21-00-log: "[plugin Generate]: running ..."

2021-4-19 21-00-log: "  [plugin Generate]: done!"

2021-4-19 21-00-debug: "// ---- native:(onAfterBuild) success ----"

2021-4-19 21-00-debug: "native:(onAfterBuild)""96%"

2021-4-19 21-00-log: "generate android"

2021-4-19 21-00-debug: "android:(onAfterBuild) start...""96%"

2021-4-19 21-00-debug: "Process: heapTotal 571.18MB heapUsed 542.32MB rss 706.30MB"

2021-4-19 21-00-debug: "// ---- android:(onAfterBuild) success ----"

2021-4-19 21-00-debug: "android:(onAfterBuild)""100%"

2021-4-19 21-00-debug: "// ---- cocos-service:(onAfterBuild) ----"

2021-4-19 21-00-debug: "Process: heapTotal 571.18MB heapUsed 542.34MB rss 706.30MB"

2021-4-19 21-00-debug: "cocos-service:(onAfterBuild) start...""100%"

2021-4-19 21-00-debug: "// ---- android:(onAfterBuild) ----"

2021-4-19 21-00-debug: "// ---- cocos-service:(onAfterBuild) success ----"

2021-4-19 21-00-debug: "cocos-service:(onAfterBuild)""100%"

2021-4-19 21-07-debug: "Start build task, options:"{"name":"Demo210419","platform":"android","buildPath":"./build","debug":false,"md5Cache":false,"sourceMaps":false,"replaceSplashScreen":false,"mainBundleCompressionType":"merge_dep","mainBundleIsRemote":false,"mergeStartScene":false,"experimentalEraseModules":false,"compressTexture":true,"packAutoAtlas":true,"startScene":"7c3e7fab-7b1e-4865-ba84-3cf81b48b9fb","scenes":[{"url":"db://assets/scene/main.scene","uuid":"7c3e7fab-7b1e-4865-ba84-3cf81b48b9fb"},{"url":"db://assets/scene/proto.scene","uuid":"59492cc3-2fc8-4ab7-a28a-a5bd34cbf17e"}],"outputName":"android","packages":{"cocos-service":{"configID":"ce8ed7","services":[]},"native":{"template":"link","polyfills":{"asyncFunctions":true},"encrypted":false,"xxteaKey":"7f6d4tbDZCUpDppP","compressZip":false,"makeAfterBuild":false},"android":{"packageName":"com.cocos.android","orientation":{"portrait":false,"upsideDown":false,"landscapeRight":true,"landscapeLeft":true},"apiLevel":"android-29","appABIs":["armeabi-v7a"],"useDebugKeystore":true,"keystorePath":"","keystorePassword":"","keystoreAlias":"","keystoreAliasPassword":"","appBundle":false,"androidInstant":false,"remoteUrl":"","sdkPath":"D:\\soft\\sdk","ndkPath":"D:\\soft\\sdk\\ndk\\19.0.5232133","renderBackEnd":{"vulkan":false,"gles3":true,"gles2":false}}}}

2021-4-19 21-07-debug: "// ---- cocos-service:(onBeforeBuild) ----"

2021-4-19 21-07-debug: "Process: heapTotal 571.18MB heapUsed 542.87MB rss 706.22MB"

2021-4-19 21-07-debug: "cocos-service:(onBeforeBuild) start...""0%"

2021-4-19 21-07-debug: "// ---- cocos-service:(onBeforeBuild) success ----"

2021-4-19 21-07-debug: "cocos-service:(onBeforeBuild)""4%"

2021-4-19 21-07-debug: "Query all assets info in project"

2

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值