Non-actionable error message from strict version check
See original GitHub issueDescribe the bug After updating to ‘com.google.gms:google-services:4.2.0’ we get the following error message
In project 'redacted-app' a resolved Google Play services library dependency depends on another at an exact versi
on (e.g. "[1.3.1,2.3]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.
Dependency failing: com.nimbusds:nimbus-jose-jwt:5.1 -> net.minidev:json-smart@[1.3.1,2.3], but json-smart version was 2
.3.
The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art
ifact with the issue.
-- Project 'redacted' depends on project 'app' which depends onto com.redacted:redacted@1.8.13
-- Project 'redacted' depends on project 'app' which depends onto com.redacted:redacted@1.1
8.254
This error message does not contain enough information to fix the dependency conflict. We don’t know which Google Play Services library that has a conflict and more importantly we do not know which version json-smart
it depends on.
Workaround available by disabling the strict version check.
To Reproduce Complete steps to reproduce the behavior are unknown, and that’s the problem.
Expected behavior The plugin should produce an error message with a reference to which Google Service Library has the conflict and what version it depends on.
Desktop (please complete the following information):
- Gradle version: 4.6
- Android Studio version 3.2.1 (stable)
- Plugin name and version: google-services 4.2.0
Additional context The same dependency conflict are discussed here: https://github.com/Microsoft/react-native-code-push/issues/1448 https://github.com/invertase/react-native-firebase/issues/1676
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:10 (2 by maintainers)
Top GitHub Comments
4.3.0 seems to require a different approach - this works for me in my app build.gradle file:
No update so far, I’ll chase up internally.