Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Warnings about missing org.slf4j.impl.StaticLoggerBinder #95

Closed
wSedlacek opened this issue Oct 10, 2021 · 2 comments
Closed

Warnings about missing org.slf4j.impl.StaticLoggerBinder #95

wSedlacek opened this issue Oct 10, 2021 · 2 comments

Comments

@wSedlacek
Copy link

When using this plugin with Android I get the following warning messages on startup.

System.err: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
System.err: SLF4J: Defaulting to no-operation (NOP) logger implementation
System.err: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

While I appreciate the notice this provides about a missing class, I feel that adding this class would offer me little benefit within the context of NativeScript.

@NathanaelA
Copy link
Owner

This is normal because the Android library I'm using for the low level websockets uses this as a logger if it is available, otherwise it throws an error.

@wSedlacek
Copy link
Author

Solved by adding the following to app.gradle

compile 'org.slf4j:slf4j-nop:1.7.25'

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

No branches or pull requests

2 participants