Open Faltenreich opened 7 months ago
please try 0.24.0 alpha
Unfortunately 0.24.0-alpha-5 leads to the same problem.
@Faltenreich Hi, I can't find in your link moko-resources for check, and github can't find any mentions moko in your project, can u create brach with reproducer of your problem, or send sample?
@ExNDY I'm also encountering this error message. It happens when the Android gradle plugin is set to version 8.3.0 or higher. 8.2.2 is the last version that works
@zt64 Hi, maybe u can send reproducer? Because i'm have same projects with 8.3+ and no problem with plugin.
@ExNDY
I've been trying to make a reproducer but I can't get it to produce the bug. However, in my own project I managed to fix it
At first I had the namespace in the android plugin and resources package set to the same package as all my code was in. I changed the resources package to its own package and the crash no longer occurs
@ExNDY Worked on it some more and got a working reproducer project. https://github.com/zt64/moko-resources-bug If I have the resources inside the common module then the crash doesnt occur, it only occurs when its in its own module
@zt64 Hi, I'm clearly understand problem with the same package of namespace? We can't detect this inside of plugin, because that work in Android Gradle plugin. But i think, we need add in readme info about separate namespace for all modules.
My project (link) crashes on start with the following exception after upgrading from Android Gradle Plugin 8.2.2 to 8.3.0, using version 0.23.0 of moko-resources:
Thanks for any upcoming help and thank you for this awesome library, it is much appreciated!