2.1.1 apk编译成功后报错

===== Initializing Editor =====
arguments:
–path
./
–compile
platform=android;debug=false

[2619] Load ~/.CocosCreator/settings.json
[2619] Initializing Asset Database
[2619] checking language setting…
[2619] Language: zh
Item with id ‘help’ is not found
protocol “profile” registered
[2619] protocol editor-framework registered
[2619] protocol app registered
[2619] protocol theme registered
[2619] protocol packages registered
[2619] protocol uuid registerred
[2619] protocol db registerred
[2619] protocol thumbnail registerred
[2619] protocol unpack registerred
[2619] protocol disable-commonjs registerred
[2619] connected!
[2619] Check project /Users/xx/project-work/SVN/wx-guoxue/branches/tripeaksGH/project
[2619] Initializing project /Users/xx/project-work/SVN/wx-guoxue/branches/tripeaksGH/project
Profile profile://local/local.json warning: reset profile field: last-edit
[2619] Initializing Cocos2d
[2619] Initializing engine extends
[2619] asset-db-debugger loaded
[2619] baidu-adapter loaded
[2619] color-picker loaded
[2619] fb-audience-network loaded
[2619] fb-live-stream loaded
[2619] google-play-instant loaded
[2619] huawei-runtime loaded
[2619] jsb-adapter loaded
[2619] oppo-runtime loaded
[2619] package-manager loaded
[2619] qqplay-adapter loaded
[2619] runtime-dev-tools loaded
[2619] sdkbox loaded
[2619] tester loaded
[2619] ui-grid loaded
[2619] ui-kit-preview-extra loaded
[2619] ui-kit-preview loaded
[2619] ui-kit loaded
[2619] ui-tree loaded
[2619] vivo-runtime loaded
[2619] weapp-adapter loaded
[2619] assets loaded
[2619] builder loaded
ccServices init
Cocos Services Version 0.5.9
[2619] cocos-services loaded
[2619] console loaded
[2619] fb-instant-games loaded
[2619] game-window loaded
[2619] google-instant-games loaded
[2619] hierarchy loaded
[2619] inspector loaded
[2619] keystore loaded
[2619] node-library loaded
[2619] package-asset loaded
[2619] preferences loaded
[2619] project-exporter loaded
[2619] project-importer loaded
[2619] project-settings loaded
[2619] scene loaded
[2619] simulator-debugger loaded
[2619] sprite-editor loaded
[2619] store loaded
[2619] timeline loaded
[2619] cc-inspector loaded
[2619] shell-build loaded
2019-06-21 11:08:16.497 CocosCreator[2619:55745] *** WARNING: Textured window <AtomNSWindow: 0x7fb9db72f100> is getting an implicitly transparent titlebar. This will break when linking against newer SDKs. Use NSWindow’s -titlebarAppearsTransparent=YES instead.
[2619] Cocos Services load base data!
build jsb-adapter: 1.095ms
init QuickCompiler: 2216.208ms
[2619] Start compiling with options : {
“android-instant”: {
“REMOTE_SERVER_ROOT”: “”,
“host”: “”,
“pathPattern”: “”,
“recordPath”: “”,
“scheme”: “https”,
“skipRecord”: false
},
“appBundle”: false,
“baidugame”: {
“REMOTE_SERVER_ROOT”: “”,
“appid”: “testappid”,
“orientation”: “portrait”,
“subContext”: “”
},
“encryptJs”: false,
“excludeScenes”: [],
“fb-instant-games”: {},
“includeSDKBox”: false,
“inlineSpriteFrames”: true,
“inlineSpriteFrames_native”: true,
“md5Cache”: false,
“mergeStartScene”: false,
“optimizeHotUpdate”: false,
“orientation”: {
“landscapeLeft”: true,
“landscapeRight”: true,
“portrait”: false,
“upsideDown”: false
},
“packageName”: “com.cardmaster.tripeaks”,
“qqplay”: {
“REMOTE_SERVER_ROOT”: “”,
“orientation”: “portrait”,
“zip”: false
},
“startScene”: “d69ef0ce-131e-442b-baa0-920ae85323e6”,
“title”: “project”,
“webOrientation”: “auto”,
“wechatgame”: {
“REMOTE_SERVER_ROOT”: “”,
“appid”: “wx6ac3f5090a6b99c5”,
“orientation”: “portrait”,
“subContext”: “”
},
“xxteaKey”: “10127c0d-372c-41”,
“zipCompressJs”: true,
“actualPlatform”: “android”,
“apiLevel”: “android-28”,
“appABIs”: [
“armeabi-v7a”,
“arm64-v8a”
],
“buildPath”: “/Users/xx/project-work/SVN/wx-guoxue/branches/tripeaksGH/project/build”,
“debug”: false,
“embedWebDebugger”: false,
“platform”: “android”,
“previewHeight”: “720”,
“previewWidth”: “1280”,
“sourceMaps”: false,
“template”: “default”,
“useDebugKeystore”: true,
“vsVersion”: “auto”,
“dest”: “/Users/xx/project-work/SVN/wx-guoxue/branches/tripeaksGH/project/build/jsb-default”,
“excludedModules”: [],
“autoCompile”: false
}
Cocos2dx root: /Applications/CocosCreator_v2.1.1.app/Contents/Resources/cocos2d-x
native environment string : COCOS_FRAMEWORKS=/Applications/CocosCreator_v2.1.1.app/Contents/Resources/;COCOS_X_ROOT=/Applications/CocosCreator_v2.1.1.app/Contents/Resources/cocos2d-x;COCOS_CONSOLE_ROOT=/Applications/CocosCreator_v2.1.1.app/Contents/Resources/cocos2d-x/tools/cocos2d-console/bin;NDK_ROOT=/Users/xx/Android/sdk/ndk-bundle;ANDROID_SDK_ROOT=/Users/xx/Android/sdk
[2619] Checked Python Version [2.7.10]
Cocos2dx root: /Applications/CocosCreator_v2.1.1.app/Contents/Resources/cocos2d-x
[2619] Start to compile native project. Please wait…
[2619] The log file path [ /Users/xx/.CocosCreator/logs/native.log ]
Cocos2dx root: /Applications/CocosCreator_v2.1.1.app/Contents/Resources/cocos2d-x

[2619] Compile native project successfully.
Builder: do custom process [compile-finished]
ReferenceError: resolve is not defined
at string.Editor._buildCommand.string.Editor._compileCommand.Editor.Builder.compileCommand.t (/Applications/CocosCreator_v2.1.1.app/Contents/Resources/app.asar/editor/index.js:1:1915)
at r.series.e (/Applications/CocosCreator_v2.1.1.app/Contents/Resources/app.asar/editor/lib/builder/index.js:1:5131)
at /Applications/CocosCreator_v2.1.1.app/Contents/Resources/app.asar/node_modules/async/lib/async.js:726:13
at /Applications/CocosCreator_v2.1.1.app/Contents/Resources/app.asar/node_modules/async/lib/async.js:52:16
at /Applications/CocosCreator_v2.1.1.app/Contents/Resources/app.asar/node_modules/async/lib/async.js:269:32
at /Applications/CocosCreator_v2.1.1.app/Contents/Resources/app.asar/node_modules/async/lib/async.js:44:16
at /Applications/CocosCreator_v2.1.1.app/Contents/Resources/app.asar/node_modules/async/lib/async.js:723:17
at /Applications/CocosCreator_v2.1.1.app/Contents/Resources/app.asar/node_modules/async/lib/async.js:167:37
at
at process._tickDomainCallback (internal/process/next_tick.js:135:7)


~/.CocosCreator/logs/native.log

BUILD SUCCESSFUL in 8s
57 actionable tasks: 3 executed, 54 up-to-date
正在移动 apk 文件 /Users/daichenxi/project-work/SVN/wx-guoxue/branches/tripeaksGH/project/build/jsb-default/publish/android
编译成功。

  • Creator 版本:2.1.1

  • 目标平台:

  • 详细报错信息,包含调用堆栈:

  • 重现方式:必现

  • 之前哪个版本是正常的 :6.19号出包正常

  • 手机型号 :

  • 手机浏览器 :

  • 编辑器操作系统 :mac

  • 编辑器之前是否有其它报错 :

  • 出现概率:必现

  • 额外线索:

6.21下午4点后打包成功
无任何修改