Desdaemon / flutter_rust_bridge_template

Template for Flutter + Rust integration with flutter_rust_bridge.
https://desdaemon.github.io/flutter_rust_bridge_template/
Apache License 2.0
120 stars 63 forks source link

android compilation error #35

Closed xdd666t closed 1 year ago

xdd666t commented 1 year ago

Hi this project is great but i have some problems compiling android

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:cargoBuildDebug'.
> Process 'command 'cargo'' finished with non-zero exit value 101

* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:cargoBuildDebug'.
...
Caused by: org.gradle.process.internal.ExecException: Process 'command 'cargo'' finished with non-zero exit 
....
Desdaemon commented 1 year ago

It's hard to tell what went wrong without the errors from Cargo itself. As a preliminary measure, please check that cargo-ndk is up to date and try running it again.

xdd666t commented 1 year ago
cargo install cargo-ndk