Page 1 of 1

Android external with google play services

Posted: Wed Apr 08, 2015 7:51 am
by monte
Howdy

I'm wondering if you can offer me any ideas on building an android external that depends on google play services library. Everything I've tried appears to fail miserably...

Re: Android external with google play services

Posted: Fri Apr 10, 2015 6:12 am
by monte
So some way to include a .aar??? Lots of cool stuff in that library so I'm hoping someone can work with me on this.

Re: Android external with google play services

Posted: Mon Apr 13, 2015 1:46 pm
by LCMark
@monte: I had a quick look at this and it appears to depend on being able to integrate an 'aar' archive in a build. Looking at what an 'aar' is, it is a collection of classes and optional native components which represent a library. This will likely require some patching to the Android S/B build process so it can integrate the various components into the resulting app package in the appropriate way.

Re: Android external with google play services

Posted: Wed Apr 15, 2015 1:29 am
by monte
Thanks @LCMark I'm not sure where to start as almost everything I can find relates to using gradle. Not sure if that can be leveraged but it's only a one liner to include using gradle. At a guess what I think we need to do is put the google play services jar in the class path when compiling the external then zip the .aar into the android directory in the external then extract it during the build and somehow include it there as you suggest.