-
-
Notifications
You must be signed in to change notification settings - Fork 989
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
slf4j-api-2.0.11
throws java.lang.NullPointerException
in Android build
#401
Comments
sl4j-api-2.0.11
throws java.lang.NullPointerException
in Android buildslf4j-api-2.0.11
throws java.lang.NullPointerException
in Android build
@georgepadayatti Did you forget to provide a stack trace? |
Hey!
Please say what else i can share to help solve the problem. |
This commit breaks Android < API level 24 compatibility: java.util.function package used there is not present on older devices. As a workaround it can be possible to use https://github.com/tony19/logback-android with |
I cannot make sense of the stack stace provided vby @introfog which mentions jetified-slf4j-api-2.0.10.jar. I do not know what artifact that is. As for the comment by @vitalyster, java.util.function package is required by the SLF4J's fluent API. In short, I would like to help but I am not familiar with android development. |
I also faced this while upgrading to 2.0.16. Pasting relevant snippets from gradle build
|
Same here. |
slf4j-api-2.0.11
throwsjava.lang.NullPointerException
during Android build. But works perfect in versions2.0.9
and below.The text was updated successfully, but these errors were encountered: