Open Z644912187 opened 2 years ago
目录不太对,删除bridge/cmake-*目录
目录不太对,删除bridge/cmake-*目录
删除目录后编译就是这样的结果 @andycall 工程下的确没有这个目录
...
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/feizhu/work/flutter_ws/kraken/bridge
Error: /Users/feizhu/work/flutter_ws/kraken/bridge/cmake-build-android-arm64-v8a is not a directory
/Users/feizhu/work/flutter_ws/kraken/node_modules/async-done/index.js:18
throw err;
^
Error [ERR_UNHANDLED_ERROR]: Unhandled error. ({
uid: 2,
name: 'build-android-kraken-lib',
branch: false,
error: Error: Command failed: cmake --build /Users/feizhu/work/flutter_ws/kraken/bridge/cmake-build-android-arm64-v8a --target kraken -- -j 12
at checkExecSyncError (node:child_process:828:11)
at execSync (node:child_process:902:15)
at /Users/feizhu/work/flutter_ws/kraken/scripts/tasks.js:692:5
at Array.forEach ()
at /Users/feizhu/work/flutter_ws/kraken/scripts/tasks.js:666:9
at taskWrapper (/Users/feizhu/work/flutter_ws/kraken/node_modules/undertaker/lib/set-task.js:13:15)
at bound (node:domain:421:15)
at runBound (node:domain:432:12)
at asyncRunner (/Users/feizhu/work/flutter_ws/kraken/node_modules/async-done/index.js:55:18)
at processTicksAndRejections (node:internal/process/task_queues:78:11) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 25044,
stdout: null,
stderr: null,
domainThrown: true
},
duration: [ 9, 674214639 ],
time: 1650809053898
})
试着给它创建这个目录之后能正常构建了吗
使用的 Kraken 版本 | What version of kraken are you using
commit 5f658850ef41ebbc608e448b4f8fdd3f3aa75076
重现步骤 | Steps To Reproduce
已按kraken文档安装好相应环境
执行命令:npm run build:bridge:android
预期结果 | Expected results: 正常编译bridge
实际结果 | Actual results: