Transitive Library dependencies are not found in the application
问题 Say I have a library module which contains some 3rd party libraries like OkHttp. When I include this library in my application I was unable to use these 3rd party libraries. I read the following articles Article 1, Article 2 and tried 1. compile project(':library-name') {after importing the .aar file(of library) as a module into myproject} 2. I included the .aar file in libs folder and added following dependencies build.gradle(project level) allprojects { repositories { flatDir { dirs 'libs'