-
Hello, I wanted to use rust with flutter, using flutter_rust_bridge package, and following a tutorial I ended up trying to use cargo-ndk on my windows machine. But anyhow I try to use it (e.g. using the given example), I always get an error like this: [2023-02-10T06:52:35Z INFO cargo_ndk::cli] Using NDK at path: C:\Users\MyUserName\AppData\Local\Android\sdk\ndk\25.2.9519653 (Standard Location) Caused by: [2023-02-10T06:52:35Z INFO cargo_ndk::cli] If the build failed due to a missing target, you can run this command: It seems to me, that there's an issue with the -L flag, but I cannot find out what should I do. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Ok, I found out that project location cannot contain any whitespaces on Windows. It was not obvious for me as nor Flutter, nor Rust needs that on their own. |
Beta Was this translation helpful? Give feedback.
Ok, I found out that project location cannot contain any whitespaces on Windows. It was not obvious for me as nor Flutter, nor Rust needs that on their own.