You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depending on a lib that depends on slf4j-api-1.x causes the following crash:
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.slf4j.spi.SLF4JServiceProvider" on path: DexPathList[...]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:218)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388)
logback-android should therefore declare a transitive dependency on slf4j-api-2.x in the same way it is done in slf4j-nop for example:
Describe the bug
Depending on a lib that depends on
slf4j-api-1.x
causes the following crash:logback-android
should therefore declare a transitive dependency onslf4j-api-2.x
in the same way it is done inslf4j-nop
for example:Reproduction
With a Gradle project depending on
logback-android
run./gradlew dependencies
and observe the treeLogs
No response
logback-android version
3.0.0
OS Version
11
What logback configuration are you using? (logback.xml or Java/Kotlin code)
Validations
The text was updated successfully, but these errors were encountered: