Closed patmuk closed 2 weeks ago
First guess: Is it possible because of https://github.com/fzyzcjy/flutter_rust_bridge/pull/2245?
You can disable log feature to avoid compiling that log lib and keep it the old way.
But I wonder why it will have "duplicated symbols"... One wild guess: is it possible you setup your logging, and thus this other logging somehow conflicts?
Oh, that is a very good tip! Indeed, I set up my own logging, and I saw the logging support in the changelog - but did not connect the dots.
I will change that later and reply to this issue!
Yes, that was the issue! I created an instance of the OsLogger - and had the crate specified in the cargo.toml. I assume that this lib got added twice, resulting in duplicated symbols.
Code removed, problem solved. Thanks!
You are welcome!
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
after code generation, when I run
flutter run
I get this error:Steps to reproduce
I did this on my own project, not the frb sample, but after upgrading to the latest frb version. Any idea what might be the issue? Or how I can debug this?
Logs
Version of
clang++
15.0.0
Additional context
No response