Closed satvikpendem closed 1 year ago
Hi! Thanks for opening your first issue here! :smile:
Good report! Feel free to PR to modify doc if needed
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new issue.
Describe the bug
Problem
I was going to make a bug report but I solved this issue myself after some time, and I just wanted to help anyone else who's having the same issue: If you set up the wrong Android NDK version, your build will fail:
Solution
The docs say to use Android Studio to download the NDK, but you can't choose the version on Android Studio. Instead, download it directly from the Android GitHub page: https://github.com/android/ndk/wiki/Unsupported-Downloads. I am using r22b and it works fine.
The docs also link to an issue in Rust, but it's been merged so I thought the issue was fixed and the latest NDK would work, but it still seems that it's not the case.
I recommend that the docs add this way of downloading the NDK so that people aren't stuck like I was for a while.
Codegen logs with
RUST_LOG=debug
environment variableTo Reproduce
No response
Expected behavior
No response
Generated binding code
No response
OS
No response
Version of
flutter_rust_bridge_codegen
No response
Flutter info
No response
Version of
clang++
No response
Version of
ffigen
No response
Additional context
No response