Failed to transform file 'play-services-gass-15.0.1.aar' to match attributes

1,039 views
Skip to first unread message

Giorgos P

unread,
Jun 23, 2018, 5:29:47 AM6/23/18
to Google Mobile Ads SDK Developers
Hi,

when I'm running the lint task on my project, I'm getting the following error:

  • What went wrong:
    Execution failed for task ':app:lint'.
    Could not resolve all artifacts for configuration ':app:myAppDebugUnitTestCompileClasspath'.
    Failed to transform file 'play-services-gass-15.0.1.aar' to match attributes {artifactType=android-exploded-aar} using transform ExtractAarTransform
    > GC overhead limit exceeded

This started happening after I updated my project to use the latest version of play-services-ads (15.0.1).

That said, first of all, I would like to understand what kind of transform it tries to do to this .aar file.

Then, how should we proceed to try to solve it?

Thank you in advance for your time.

mobileadssdk-a...@google.com

unread,
Jun 25, 2018, 2:10:26 AM6/25/18
to Giorgos P, Google Mobile Ads SDK Developers
Hi Giorgos,

For testing purposes, I downloaded the BannerExample app (with 15.0.1 Mobile Ads SDK version imported instead of the default 15.0.0) and I was able to build and run the sample app successfully on our Nexus 5x device. 

To help us narrow down the root cause of the issue encountered on your end, could you try building the BannerExample app on your end and see if you are getting the same error?

Regards,
Ivan Bautista
Mobile Ads SDK Team

Giorgos P

unread,
Jun 25, 2018, 9:12:10 AM6/25/18
to Google Mobile Ads SDK Developers
Hi Ivan,

first of all if I use BannerExample targeting sdk 27, I get the following error:

probably because ads is using version 26 of the support library. 
Have you guys already planned to fix it in a fore-coming update?

Thank you for your time,
Giorgos

mobileadssdk-a...@google.com

unread,
Jun 26, 2018, 2:54:02 AM6/26/18
to Giorgos P, Google Mobile Ads SDK Developers
Hi Giorgos, 

Thank you for testing it out with our BannerExample app. As of this writing, the BannerExample app is using version 26. 

I also can reproduce the warning message you've captured if I change the gradle configuration of the sample app similar in your screenshot. Thus, I will check this with the rest of the team and get back to you for any feedback.

That said, are you still getting the "Execution failed for task ':app:lint'." error when building your app?

Giorgos P

unread,
Jun 26, 2018, 2:37:20 PM6/26/18
to Google Mobile Ads SDK Developers
I'm not getting the error on the BannerExample app, so it must be something else. Consider this ticket closed for now. If I isolate the problem, I'll repost.

Thank you for your time again.
Reply all
Reply to author
Forward
0 new messages