3

When I was not able to resolve some of the classes located in external dependency I debugged and found that gradle is some how not downloading jars properly. I have checked on my peer computer that this play-services-tasks-15.0.1.aar is around 127 KB. Also there are no files in the jar downloaded by gradle other than MANIFEST.MF in META-INF folder.

NOTE: This play-services-tasks dependency is itself coming from firebase-core dependency

Here are some of the screenshot of what I just described:

(Less than 1 KB in size) enter image description here

And (No classes in jar file)

enter image description here

I have also tried to delete play-services-tasks-15.0.1.aar file and rebuild/clean/invalidate caches, but still haven't found any luck. Please tell me how to resolve this issue?

Thank you for answers in advance!

Muhammad Muzammil
  • 864
  • 1
  • 9
  • 24

1 Answers1

0

try setting transitive property for your aar like this

    compile('play-services-tasks-15.0.1@aar') { 
        transitive = true;
    }
rmdroid
  • 829
  • 1
  • 6
  • 7