irondash / cargokit

Integrate cargo build with flutter plugins and applications.
Other
51 stars 16 forks source link

Can we link `libc++` to Android apps? #61

Open temeddix opened 5 months ago

temeddix commented 5 months ago

Always grateful for your contribution for making Flutter-app ecosystem evolve :)

There was an issue at Rinf, where third-party crates are not loaded on Android if they depend on libc++.

image

These two links above describe the whole issue. For some reason, rodio crate that depends on libc++ works well on all platforms, except Android(Built with Cargokit). It looks like symbols that should be in libc++ are missing only in Android builds.

May I ask, if there is a workaround for this?