Good day.
I use deltaDNA Analytics unity plugin and all works fine. But when i adding GooglePlayGames plugin i keep on getting re-package failure errors. Part of error message below:
CommandInvokationFailure: Failed to re-package resources.
C:\Androidsdk\build-tools\25.0.1\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Androidsdk\platforms\android-25\android.jar" -F bin/resources.ap_ --extra-packages com.deltadna.android.sdk.notifications:com.google.example.games.mainlibproj:com.google.android.gms.auth.api:com.google.android.gms.auth:com.google.android.gms.base:com.google.android.gms:com.google.android.gms:com.google.android.gms.drive:com.google.android.gms.games:com.google.android.gms.gcm:com.google.android.gms.nearby:com.google.android.gms.tasks:android.support.v4:android.support.v4 -S "D:\D\Unity\Projects\AllPlugin1\Temp\StagingArea\android-libraries\deltadna-sdk-notifications-4.2.3\res" -S "D:\D\Unity\Projects\AllPlugin1\Temp\StagingArea\android-libraries\play-services-auth-10.0.1\res" -S "D:\D\Unity\Projects\AllPlugin1\Temp\StagingArea\android-libraries\play-services-auth-base-10.0.1\res" -S "D:\D\Unity\Projects\AllPlugin1\Temp\StagingArea\android-libraries\play-services-base-10.0.1\res" -S "D:\D\Unity\Projects\AllPlugin1\Temp\StagingArea\android-libraries\play-services-base-7.8.0\res" -S "D:\D\Unity\Projects\AllPlugin1\Temp\StagingArea\android-libraries\play-services-basement-10.0.1\res" -S "D:\D\Unity\Projects\AllPlugin1\Temp\StagingArea\android-libraries\play-services-drive-10.0.1\res" -S "D:\D\Unity\Projects\AllPlugin1\Temp\StagingArea\android-libraries\play-services-games-10.0.1\res" -S "D:\D\Unity\Projects\AllPlugin1\Temp\StagingArea\android-libraries\play-services-gcm-7.8.0\res" -S "D:\D\Unity\Projects\AllPlugin1\Temp\StagingArea\android-libraries\play-services-nearby-10.0.1\res" -S "D:\D\Unity\Projects\AllPlugin1\Temp\StagingArea\android-libraries\play-services-tasks-10.0.1\res" -S "D:\D\Unity\Projects\AllPlugin1\Temp\StagingArea\android-libraries\support-v4-23.1.1\res" -S "D:\D\Unity\Projects\AllPlugin1\Temp\StagingArea\android-libraries\support-v4-24.0.0\res"
stderr[
D:\D\Unity\Projects\AllPlugin1\Temp\StagingArea\android-libraries\play-services-base-10.0.1\res\values\values.xml:33: error: Attribute "imageAspectRatioAdjust" already defined with incompatible format.
D:\D\Unity\Projects\AllPlugin1\Temp\StagingArea\android-libraries\play-services-base-7.8.0\res\values\common_attrs.xml:13: Original attribute defined here.
AndroidManifest.xml:34: error: Error: No resource found that matches the given name (at 'resource' with value '@string/sender_id').
]
stdout[
Configurations:
(default)
Files:
AndroidManifest.xml
Src: () AndroidManifest.xml
Resource Dirs:
Including resources from package: C:\Androidsdk\platforms\android-25\android.jar
I think this is conflict between “play-services-base-10.0.1” used by GP and “play-services-base-7.8.0” used DeltaDNA SDK but i dont know how to fix this issue. Both plugins work correctly separated from each other