I'm trying to incorporate Google Play Services in an Oxygene project (Elements 9.0 RTM release) and am stumbling at a very early hurdle.
I (eventually!) came across the information that google-play-services is now decomposed into constituent aar packages, but when I try to add these as references to my project the build fails with a "ProcessAARs task failed unexpectedly" error.
The output window suggests that the ProcessAARs, um, process, is trying to locate the aar files in the project folder itself (no subdirectory or other path):
(MSB4018) The "ProcessAARs" task failed unexpectedly.
System.IO.FileNotFoundException: Could not find file
File name: 'C:\Users\jolyon\Dropbox\dev\src\elements\AndroidApp\play-services-10.0.1.aar'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at System.IO.Compression.ZipStorer.Open(String _filename, FileAccess _access)
I also noticed that aar references are added with Copy Local set False where-as jar references are added with this set True. Changing the setting (for aar references) doesn't make any difference to the error, or the path involved.
I have tried adding references to the aars in their Android SDK\extras location and copying them to a subfolder of my project folder and adding references to them from there with no change on the outcome.
What am I doing wrong ?
UPDATE: Since the process was insisting on looking in the project folder, I tried putting the aars in that folder, and now the ProcessAARs task no longer fails but I am now getting an "unreferenced assembly" error (indirectly referencing type com.google.android.gms.common.internal.ReflectedParcelable).
There being no play services aar for "common" I am at a (further) loss.