Could not resolve com.google.code.findbugs:jsr305:3.0.2, required by truth
See original GitHub issueSince adding androidx.test.ext:truth:1.1.0
to my app/build.gradle file, I cannot build my test app anymore.
> Could not resolve com.google.code.findbugs:jsr305:3.0.2.
Required by:
project :app > androidx.test.ext:truth:1.1.0 > com.google.guava:guava:26.0-android
> Cannot find a version of 'com.google.code.findbugs:jsr305' that satisfies the version constraints:
Dependency path 'regex-crossword-kotlin:app:unspecified' --> 'androidx.test.espresso:espresso-core:3.1.1' --> 'com.google.code.findbugs:jsr305:2.0.1'
Constraint path 'regex-crossword-kotlin:app:unspecified' --> 'com.google.code.findbugs:jsr305:{strictly 2.0.1}' because of the following reason: debugRuntimeClasspath uses version 2.0.1
Constraint path 'regex-crossword-kotlin:app:unspecified' --> 'com.google.code.findbugs:jsr305:{strictly 2.0.1}' because of the following reason: debugRuntimeClasspath uses version 2.0.1
Dependency path 'regex-crossword-kotlin:app:unspecified' --> 'com.github.facebook.stetho:stetho:6d148f20b96ecb29320cced6617830eda8af0426' --> 'com.google.code.findbugs:jsr305:2.0.1'
Constraint path 'regex-crossword-kotlin:app:unspecified' --> 'com.google.code.findbugs:jsr305:{strictly 2.0.1}' because of the following reason: debugRuntimeClasspath uses version 2.0.1
Constraint path 'regex-crossword-kotlin:app:unspecified' --> 'com.google.code.findbugs:jsr305:{strictly 2.0.1}' because of the following reason: debugRuntimeClasspath uses version 2.0.1
Constraint path 'regex-crossword-kotlin:app:unspecified' --> 'com.google.code.findbugs:jsr305:{strictly 2.0.1}' because of the following reason: debugRuntimeClasspath uses version 2.0.1
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Error:Conflict with dependency 'com.google.code.findbugs ...
google.code.findbugs:jsr305) and it will resolve the problem around the project, using some version of this dependency. Basically it will align the versions of ......
Read more >com.google.code.findbugs : jsr305 : 3.0.2 - Maven Central
Licenses. The Apache Software License, Version 2.0. Home page, http://findbugs.sourceforge.net/. Source code, https://code.google.com/p/jsr-305/ ...
Read more >Can't download com.google.code.findbugs:jsr305:1.3.9 ...
FAILURE: Build failed with an exception. What went wrong: Could not resolve all dependencies for configuration ':testRuntime'. Could not resolve ...
Read more >Guide for migration from FindBugs 3.0 to SpotBugs 3.1
Simply replace com.google.code.findbugs:findbugs with ... JSR305 is already Dormant status, so SpotBugs does not release jsr305 jar file.
Read more >FindBugs Maven Plugin – Project Dependencies
GroupId ArtifactId Version Type Licenses
antlr antlr 2.7.2 jar ‑
backport‑util‑concurrent backport‑util‑concurrent 3.1 jar Public Domain
com.apple AppleJavaExtensions 1.4 jar Apple License
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We don’t have a lot of Gradle expertise. I recommend asking on StackOverflow.
this issue might be closed, i just want to add a hint since i still get this issue. I managed to solve it with pin the old
com.google.code.findbugs:jsr305:2.0.1
version.It seems like the
androidx.test.espresso:espresso-core:3.2.0
andcom.facebook.stetho:stetho:1.5.1
in my case are the libs using the 2.0.1 version of findbugs. And truth lib is the only one moved to findbugs:3.0.2.In your individual case, you shall check which version are in conflict.