Gradle dependency library with an old version of my other dependency library

I am trying to add an external library to my Android project in Android Studio. Unfortunately, one of my third-party libraries (allows libraryA.jar be called) contains a modified version of another library ( libraryB1 ). In my project, I need to use this library in an unmodified and newer version ( libraryB2 ). They are presented in my gradle as follows:

 dependencies { compile files('libs/libraryA.jar') compile 'libraryB2' } 

Unfortunately, every time I try to access libraryB2 , I get a link to libraryB1 .

+5
source share

Source: https://habr.com/ru/post/1207040/


All Articles