We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
运行命令: npm run build:bridge:android
npm run build:bridge:android
报错:Could not find toolchain file:
Could not find toolchain file: /***/Library/android/sdk/ndk/build/cmake/android.toolchain.cmake
原因:本地机器配置的ndk路径没有带版本 ,类似:path=/***/Library/android/sdk/ndk,导致拿到的ndk版本不对。根据报错信息找到文件:https://github.com/openwebf/webf/blob/b07bef9f478f261ca669b9110e10ca5722881381/scripts/tasks.js
修改方式:去掉if判断 ,
if (process.env.ANDROID_NDK_HOME) { ndkDir = process.env.ANDROID_NDK_HOME; }
报错:add_compile_definitions
原因: cmake v3.12 新增,openwebf-contributing-guide https://github.com/openwebf/webf/blob/main/.github/CONTRIBUTING.md#openwebf-contributing-guide建议v3.10.0 or later , 我这边装的v3.10.0
修改方式:升级cmake
The text was updated successfully, but these errors were encountered:
No branches or pull requests
运行命令:
npm run build:bridge:android
Could not find toolchain file: /***/Library/android/sdk/ndk/build/cmake/android.toolchain.cmake
if (process.env.ANDROID_NDK_HOME) { ndkDir = process.env.ANDROID_NDK_HOME; }
The text was updated successfully, but these errors were encountered: