I have 2 libs that I know that has dependency to different versions of the 3rd one. I get a compile error of Duplicate class.
Asked
Active
Viewed 26 times
0
Uriel Frankel
- 13,300
- 7
- 43
- 65
-
Not sure if you've seen: [Transitive dependencies not resolved for aar library using gradle](https://stackoverflow.com/q/22795455/295004) but you should provide detail about what you've tried/how your project build is structured. – Morrison Chang May 29 '22 at 06:57
1 Answers
2
try this:
implementation(Lib A){
exclude module : 'lib c'
}
farid
- 155
- 6
-
this is what i did and it works implementation('com.amplifyframework:aws-storage-s3:1.35.4') { exclude group: 'com.google.android.play', module: 'core' } – Uriel Frankel May 29 '22 at 09:22