bastienpaulfr/Treessence

Error planting SystemLogTree

Opened this issue · 1 comments

I'm trying to log elements to a txt file (which works perfectly) and also to my IDE logcat. But I cannot plant the SystemLogTree.

WhatsApp Image 2023-01-26 at 09 47 22

hi @bloworlf
This is caused by Timber version 5.0.x
Related issue there: JakeWharton/timber#484

You can temporarily solve this by downgrading the timber version (5.0.x features are of course not available).
You need to exclude Timber from Treessence and include Timber version 4.7.1 manually.

implementation 'com.jakewharton.timber:timber:4.7.1'
implementation('com.github.bastienpaulfr:Treessence:1.1.2') {
    exclude group: 'com.jakewharton.timber', module: 'timber'
    // fixes not usable timber lib with version 5.x
}