How do we compile a library that depends on Play Services these days?
There's no google-play-services.jar files available to use within Eclipse.
You are right. It is gone in the way we know it.
Google has splitted it into smaller parts.
If you already updated to B4A 6+ then you have the maven repositories installed i guess.
Start with this zip. It contains my wrappercode as of today (still working on it).
I zipped the hole eclipse projectfolder.
https://www.dropbox.com/s/wxsdirdvqifr42f/GoogleMapKML.zip?dl=0
Ectract it and focus on the content of the libs folder.
the jars are the extracted classes.jar from the AAR file.
You need to reference this in Eclipse to get the Objects....
Now. Where do i get them?
In my case (Android.SDK-path)\extras\google\m2repository\com\google\android\gms\play-services-maps\11.0.2
Look at (Android.SDK-path)\extras\google\m2repository\com\google\android\gms for the single packages
My AndroidMapsUtils b4a library is an Android Library project in AndroidStudio, it compiles to an .aar file no problems.
I never worked with AS in the way i write my wraps with it. I usually use it to compile 3rd Party Libs.
i write my wraps all with eclipse. If i want to include code from an aar i ectract the classes.jar and include it into eclipse to reference the objects.
I use slc to compile my projects based on the projectname in the Eclipseworkspace.
I use the external tools configuration inside eclipse.
The point is that you always need to update the referenced "classes.jars"s into the libs folder...
@corwin42 is using Android Studio too. He is using a batch-file to create the XML or so.
Don´t know exactly. I would like to know how it would work with Android Studio.
Maybe this can help you?
https://www.b4x.com/android/forum/t...raries-maybe-in-the-future.75307/#post-478221