Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NoSuchFieldError with Android Gradle Plugin 8.3.0 #652

Open
Faltenreich opened this issue Mar 2, 2024 · 3 comments
Open

java.lang.NoSuchFieldError with Android Gradle Plugin 8.3.0 #652

Faltenreich opened this issue Mar 2, 2024 · 3 comments
Labels
bug Something isn't working need-info Required more details about issue
Milestone

Comments

@Faltenreich
Copy link

Faltenreich commented Mar 2, 2024

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:

FATAL EXCEPTION: main
Process: com.faltenreich.diaguard.beta, PID: 11114
java.lang.NoSuchFieldError: No static field tags of type I in class Lcom/faltenreich/diaguard/R$string; or its superclasses (declaration of 'com.faltenreich.diaguard.R$string' appears in /data/app/~~tI_khR_YrWC42LNPOtVWDQ==/com.faltenreich.diaguard.beta-8GoEXUJtIXrqQCR5je7ZxQ==/base.apk!classes17.dex)
at com.faltenreich.diaguard.MR$strings.<clinit>(MR.kt:382)

Thanks for any upcoming help and thank you for this awesome library, it is much appreciated!

@Alex009
Copy link
Member

Alex009 commented Mar 11, 2024

please try 0.24.0 alpha

@Alex009 Alex009 added this to the 0.24.0 milestone Mar 11, 2024
@Faltenreich Faltenreich reopened this Mar 18, 2024
@Faltenreich
Copy link
Author

Unfortunately 0.24.0-alpha-5 leads to the same problem.

@Alex009 Alex009 added the bug Something isn't working label Apr 12, 2024
@ExNDY
Copy link
Contributor

ExNDY commented Apr 17, 2024

@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 ExNDY modified the milestones: 0.24.0, 0.25.0 Apr 18, 2024
@ExNDY ExNDY added the need-info Required more details about issue label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need-info Required more details about issue
Projects
None yet
Development

No branches or pull requests

3 participants