Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cannot resolve method 'plant(timber.log.Timber.DebugTree)' #459

@findyourexit

Description

@findyourexit
  • Android Studio version: Android Studio Bumblebee | 2021.1.1 Patch 1 (Build #AI-211.7628.21.2111.8139111)
  • Timber version: com.jakewharton.timber:timber:5.0.1

Reproduction steps:

  1. Simply add the above dependency to an Android project (ensuring to use Android Studio Bumblebee+)
  2. Observe the Cannot resolve method 'plant(timber.log.Timber.DebugTree)' Lint error message:

image

Additional notes:

  • Didn't seem to occur on prior version of Android Studio (Arctic Fox and prior).
  • Does seem to affect Android Studio Bumblebee (Stable), Chipmunk (Beta) and Dolphin (Canary).
  • Doesn't appear to occur with pre-5.0.0 versions of Timber.
  • Loosely related to this issue.
  • Could be an Android Studio bug rather than a bug with Timber, though I figured best to report it here as it doesn't seem to affect pre-5.0.0 versions of Timber as mentioned previously.
  • In case the issue is in fact with Android Studio, @gmk57 has reported it on Android Studio bug tracker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions