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

Missing class when building release on Android in 1.17.2 #2129

Open
akirmse opened this issue Mar 12, 2024 · 0 comments
Open

Missing class when building release on Android in 1.17.2 #2129

akirmse opened this issue Mar 12, 2024 · 0 comments

Comments

@akirmse
Copy link

akirmse commented Mar 12, 2024

I've just upgraded from jsoup 1.15.4 to 1.17.2. When building in release mode for Android (Gradle 8.3), I get the following build error:

Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /Users/akirmse/peakbagger/android/peakbagger/build/outputs/mapping/release/missing_rules.txt.
Missing class org.jspecify.annotations.NullMarked (referenced from: org.jsoup.internal.FieldsAreNonnullByDefault and 2 other contexts)

Adding this to my proguard.txt file fixes the problem:
-dontwarn org.jspecify.annotations.NullMarked

but it would be better if the library could take care of this instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant