JakeWharton / JakeWharton/timber

Android Studio can't export code Inspection result to HTML if result contains AndroidLintLogNotTimber

Open
#512 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
10.9k
Forks
994
Avg merge
17h 16m
Merged PRs (30d)
17

Description

# Step to reproduce
- open Android studio project that use Timber library
- write `Log.i("tag","message")` in code somewhere, this will make AndroidLintLogNotTimber warning.
- run code Inspection from `menu / Code / Inspect Code...`
- export inspection result as HTML

![image](https://github.com/user-attachments/assets/644f3d66-e0dd-4769-8761-f8746b061dce)

# Actual behavior
got error dialog.

> Can't find tools for "AndroidLintLogNotTimber" in the profile "Default"

![image](https://github.com/user-attachments/assets/c6f73d9f-b631-43bc-9af5-3548efee19ae)

also html output does not contains all inspection result.

# Expect behavior
not raise error.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in Android Studio with a project using Timber, then run Code Inspection and export the results as HTML. Verify the failure involving AndroidLintLogNotTimber and confirm that the export completes without an error and includes all inspection results.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.