Skip to content
New issue

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

v0.16.0 android(npm run build:bridge:android)编译问题记录 #630

Open
1 task done
Tlanglord opened this issue Jul 15, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@Tlanglord
Copy link

Affected version

v0.16.0

Flutter versions

3.19.0

No same issues found.

  • Yes, I search all issues but not found.

Steps to Reproduce

  1. 本地ndk path 配置问题

报错: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时可以判断下是否带目标版本

  1. cmake add_compile_definitions问题

报错:add_compile_definitions

原因: cmake v3.12 新增

建议修改https://github.com/openwebf/webf/blob/main/.github/CONTRIBUTING.md#openwebf-contributing-guide , CMake:v3.120 or later

Code example

image image

Expected results

  1. 修改ndk检测方式
  2. 更新CMake版本

Actual results

更新CMake版本,修改文档

@Tlanglord Tlanglord added the bug Something isn't working label Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant