Transitive dependencies not resolved for aar library using gradle Transitive dependencies not resolved for aar library using gradle android android

Transitive dependencies not resolved for aar library using gradle


I have solved my problem by setting transitive attribute for my aar dependency:

compile ('com.somepackage:LIBRARY_NAME:1.0.0@aar'){    transitive=true}


you should not use "@aar", if use "@" is become "Artifact only notation", if you want to use "@" and want have dependence transitive, you should add "transitive=true"


Try this if you are using aar locally:

compile(project(:your-library-name)) {    transitive=true}