[
https://jira.qos.ch/browse/SLF4J-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18661#comment-18661
]
Lin Wang commented on SLF4J-328:
--------------------------------
Thanks, I tried to pick up the latest version for my android application but
keep having this compilation errors: Please advise.
{code:java}
error: package org.slf4j does not exist
import org.slf4j.Logger;{code}
buildscript \{
repositories \{
mavenCentral()
maven \{
url "https://mvnrepository.com/artifact/org.slf4j/slf4j-android"
}
maven \{
url "https://mvnrepository.com/artifact/org.slf4j/slf4j-api"
}
}
}
dependencies \{
// compile 'org.slf4j:slf4j-android:1.6.1-RC1'
compile 'org.slf4j:slf4j-api:1.7.25'
compile 'org.slf4j:slf4j-android:1.7.25'
}
> Binding Ambiguity check skipped for Andriod
> -------------------------------------------
>
> Key: SLF4J-328
> URL: https://jira.qos.ch/browse/SLF4J-328
> Project: SLF4J
> Issue Type: Improvement
> Components: Core API
> Affects Versions: 1.7.x
> Environment: Android
> Reporter: Nitin Verma
> Assignee: Ceki Gülcü
> Priority: Critical
> Fix For: 1.7.14
>
> Attachments: FindStaticLoggerBinderPathsPerfTest.java
>
>
> https://github.com/nitinverma/slf4j/commit/4d67b578fdc1cf77a0689f2efb0424f6c8479963
> As Dex cant by design have duplicate class, there would never be a 'Binding
> Ambiguity'.
> 1. LoggerFactory.getLogger is mostly called via MainActivity. Which gives a
> black screen before the first activity loads.
> 2. This operation takes 200-600 Inclusive CPU Time as per DDMS.
> This fix get Incl CPU Time to sub 10
--
This message was sent by Atlassian JIRA
(v7.3.1#73012)
_______________________________________________
slf4j-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/slf4j-dev