JakeWharton / JakeWharton/timber

Could not load custom lint check jar

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

Description

Hi , when im trying to build release im getting this error.

Could not load custom lint check jar file C:\Users\me\.gradle\caches\transforms-3\282411d3028f415e7f15eb7525ee01bd\transformed\jetified-timber-5.0.1\jars\lint.jar
java.lang.NoClassDefFoundError: com/android/tools/lint/client/api/Vendor
at timber.lint.TimberIssueRegistry.(TimberIssueRegistry.kt:25)

Using com.android.tools.build:gradle:4.2.2 , i think thats the problem.

More info here:

[https://github.com/doublesymmetry/react-native-track-player/issues/1776](https://github.com/doublesymmetry/react-native-track-player/issues/1776)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining TimberIssueRegistry.kt at line 25 and the release-build setup using com.android.tools.build:gradle:4.2.2. Reproduce the custom lint JAR loading failure and compare it with the linked report; done means the release build loads the JAR without the reported NoClassDefFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.