openkraken / kraken

A web standards-compliant, high-performance rendering engine based on Flutter.
https://openkraken.com
Apache License 2.0
4.93k stars 305 forks source link

window下使用gitbash按照文档构建不了android #1453

Open Alembertcn opened 2 years ago

Alembertcn commented 2 years ago

使用的 Kraken 版本 | What version of kraken are you using

Kraken 0.10.0

重现步骤 | Steps To Reproduce

运行 ceeb@ceb MINGW64 /d/fulldata/kraken-0.10.0-flutter-2.2.x $ npm run build:bridge:android

CMake Error: The source directory "/" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. D:\fulldata\kraken-0.10.0-flutter-2.2.x\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 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=D:\java\androidsdk\ndk\21.4.7075529\build\cmake\android.toolchain.cmake -DANDROID_NDK=D:\java\androidsdk\ndk\21.4.7075529 -D