You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered a weird behavior while trying to use flutter_rust_bridge, specifically while building using flutter run, after running cargo build --target aarch64-linux-android I got the following error.
By following this comment, I was led to the fix of adding the -framework SystemConfiguration flag to the iOS podspec, which weirdly enough fixed the issue with android builds.
It is worth mentioning that flutter run succeeds after applying this fix, but cargo build still gives the same error.
There's no reason why that should have any impact on it. The error clearly says that the the NDK compiler couldn't have been found. It is possible that it passed the second time you have invoked the build (unrelated to the podspec file modification). Can you consistently reproduce the build failure when you remove -framework SystemConfiguration from the podspec?
I've encountered a weird behavior while trying to use flutter_rust_bridge, specifically while building using
flutter run
, after runningcargo build --target aarch64-linux-android
I got the following error.By following this comment, I was led to the fix of adding the
-framework SystemConfiguration
flag to the iOS podspec, which weirdly enough fixed the issue with android builds.It is worth mentioning that
flutter run
succeeds after applying this fix, butcargo build
still gives the same error.You can find more details here: fzyzcjy/flutter_rust_bridge#1722
The text was updated successfully, but these errors were encountered: