Two different third party libraries use the same library with different versions

187 Views Asked by At

We have two different third party libraries in our project. The problem both uses ExoPlayer with different versions. If the version of the ExoPlayer in my main project is bigger than 2.10.0 Get Stream Chat SDK having a crash. Vice versa If the version is lower than 2.10.0 Clever Tap SDK having a crash. Gradle is choosing the latest version all the time. Is there a solution for this? For example, Can I use ExoPlayer 2.9.6 in Get Stream Chat SDK and ExoPlayer 2.12.0 in Clever Tap.

0

There are 0 best solutions below