Open codeitlikemiley opened 3 months ago
I've noticed the duplicate resources problem since the recent update to AGP 8.4.0. But 8.3.2 works ok. I haven't got to the bottom of why yet.
Is it the same error about each of the four libshared.so
binaries, or is it unhappy about seeing the same binary (for different architectures) four times?
i noticed downgrading to 8.3.2 would not lead to this error, but , shouldnt it just works if we use the latest version... im sure most of the developers that would use this , would end up using the latest stable version of AGP...
I really hope there is an easy way on this, as im planning to use crux on my next project ... I would not use flutter for the moment lol, as I wanna push thru my rust expertise and exploring both swift and kotlin as they are almost the same syntax with rust , I find it easy to use...
It's definitely the four libshared.so
files. As soon as I get some time I will get to the bottom of it. In the meantime, you could just target one architecture — so, in your build.gradle
for your shared lib, change targets = ["arm", "arm64", "x86", "x86_64"]
to something like targets = ["arm64"]
. Or use AGP 8.3.2 for now, while we work our what they changed. Hope that helps.
Thanks for raising this, btw ❤️ — I added a note to the getting started guide to highlight the issue. I would imagine we may need to wait for the Rust Gradle Plugin to be updated, but not sure of that yet.
I tried to follow Xcode implementation with Crux , I manage to make it work, but on Kotlin and Android Studio , After Following documentation and on the building of the app or running it i always get stuck on this .... Or even if i clone your example folder and run Android folder i bump to this error as well
I got the following warning and errors: