Quantcast
Channel: Questions in topic: "build"
Viewing all articles
Browse latest Browse all 4084

Help building with two conflicting plugins: GameAnalytics and Google Play Services

$
0
0
I've been trying to solve this for weeks now. I have integrated [Game Analytics][1] ([Git Repository here][2]), and [Google Play Services Unity][3] plugin into my game. With either one of these integrated, they work fine. But when both are integrated at the same time, I get errors when trying to build. This has been reported to Game Analytics' support, but there has been no word on a solution, so I'm calling out to anyone for help! The error looks like this: > "Build failure: Failed to re-package> resources. See the Console for> details". And then the console shows this: CommandInvokationFailure: Failed to re-package resources. See the Console for details. C:\Users\Nick\Documents\adt-bundle-windows-x86_64-20140702\sdk\build-tools\23.0.1\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/Nick/Documents/adt-bundle-windows-x86_64-20140702/sdk\platforms\android-23\android.jar" -F bin/resources.ap_ --extra-packages com.google.android.gms:com.google.example.games.mainlibproj:com.google.android.gms.analytics:com.google.android.gms:android.support.v4 -S "C:\Users\Nick\Documents\GitHub\SocialNetwork\Social Network\Temp\StagingArea\android-libraries\google-play-services_lib\res" -S "C:\Users\Nick\Documents\GitHub\SocialNetwork\Social Network\Temp\StagingArea\android-libraries\play-services-analytics-7.5.0\res" -S "C:\Users\Nick\Documents\GitHub\SocialNetwork\Social Network\Temp\StagingArea\android-libraries\play-services-base-7.5.0\res" -S "C:\Users\Nick\Documents\GitHub\SocialNetwork\Social Network\Temp\StagingArea\android-libraries\support-v4-22.2.0\res" stderr[ C:\Users\Nick\Documents\GitHub\SocialNetwork\Social Network\Temp\StagingArea\android-libraries\google-play-services_lib\res\values\common_attrs.xml:13: error: Attribute "imageAspectRatioAdjust" has already been defined C:\Users\Nick\Documents\GitHub\SocialNetwork\Social Network\Temp\StagingArea\android-libraries\google-play-services_lib\res\values\common_attrs.xml:22: error: Attribute "imageAspectRatio" has already been defined C:\Users\Nick\Documents\GitHub\SocialNetwork\Social Network\Temp\StagingArea\android-libraries\google-play-services_lib\res\values\common_attrs.xml:27: error: Attribute "circleCrop" has already been defined ] stdout[ Configurations: (default) Files: AndroidManifest.xml Src: () AndroidManifest.xml Resource Dirs: Including resources from package: C:\Users\Nick\Documents\adt-bundle-windows-x86_64-20140702\sdk\platforms\android-23\android.jar applyFileOverlay for drawable trying overlaySet Key=common_full_open_on_phone.png trying overlaySet Key=common_ic_googleplayservices.png trying overlaySet Key=common_signin_btn_icon_dark.xml trying overlaySet Key=common_signin_btn_icon_disabled_dark.9.png trying overlaySet Key=common_signin_btn_icon_disabled_focus_dark.9.png trying overlaySet Key=common_signin_btn_icon_disabled_focus_light.9.png trying overlaySet Key=common_signin_btn_icon_disabled_light.9.png trying overlaySet Key=common_signin_btn_icon_focus_dark.9.png trying overlaySet Key=common_signin_btn_icon_focus_light.9.png trying overlaySet Key=common_signin_btn_icon_light.xml trying overlaySet Key=common_signin_btn_icon_normal_dark.9.png trying overlaySet Key=common_signin_btn_icon_normal_light.9.png trying overlaySet Key=common_signin_btn_icon_pressed_dark.9.png trying overlaySet Key=common_signin_btn_icon_pressed_light.9.png trying overlaySet Key=common_signin_btn_text_dark.xml trying overlaySet Key=common_signin_btn_text_disabled_dark.9.png trying overlaySet Key=common_signin_btn_text_disabled_focus_dark.9.png trying overlaySet Key=common_signin_btn_text_disabled_focus_light.9.png trying overlaySet Key=common_signin_btn_text_disabled_light.9.png trying overlaySet Key=common_signin_btn_text_focus_dark.9.png trying overlaySet Key=common_signin_btn_text_focus_light.9.png trying overlaySet Key=common_signin_btn_text_light.xml trying overlaySet Key=common_signin_btn_text_normal_dark.9.png trying overlaySet Key=common_signin_btn_text_normal_light.9.png trying overlaySet Key=common_signin_btn_text_pressed_dark.9.png trying overlaySet Key=common_signin_btn_text_pressed_light.9.png trying overlaySet Key=ic_plusone_medium_off_client.png trying overlaySet Key=ic_plusone_small_off_client.png trying overlaySet Key=ic_plusone_standard_off_client.png trying overlaySet Key=ic_plusone_tall_off_client.png trying overlaySet Key=cast_ic_notification_0.png trying overlaySet Key=cast_ic_notification_1.png trying overlaySet Key=cast_ic_notification_2.png trying overlaySet Key=cast_ic_notification_connecting.xml trying overlaySet Key=cast_ic_notification_on.png trying overlaySet Key=common_full_open_on_phone.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor tvdpi-v4 baseFile 2 has flavor hdpi-v4 baseFile 3 has flavor xhdpi-v4 baseFile 4 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor tvdpi-v4 overlayFile 2 has flavor hdpi-v4 overlayFile 3 has flavor xhdpi-v4 overlayFile 4 has flavor xxhdpi-v4 found a match (0) for overlay file common_full_open_on_phone.png, for flavor mdpi-v4 found a match (1) for overlay file common_full_open_on_phone.png, for flavor tvdpi-v4 found a match (2) for overlay file common_full_open_on_phone.png, for flavor hdpi-v4 found a match (3) for overlay file common_full_open_on_phone.png, for flavor xhdpi-v4 found a match (4) for overlay file common_full_open_on_phone.png, for flavor xxhdpi-v4 trying overlaySet Key=common_ic_googleplayservices.png baseFile 0 has flavor hdpi-v4 overlayFile 0 has flavor hdpi-v4 found a match (0) for overlay file common_ic_googleplayservices.png, for flavor hdpi-v4 trying overlaySet Key=common_signin_btn_icon_dark.xml baseFile 0 has flavor overlayFile 0 has flavor found a match (0) for overlay file common_signin_btn_icon_dark.xml, for flavor trying overlaySet Key=common_signin_btn_icon_disabled_dark.9.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file common_signin_btn_icon_disabled_dark.9.png, for flavor mdpi-v4 found a match (1) for overlay file common_signin_btn_icon_disabled_dark.9.png, for flavor hdpi-v4 found a match (2) for overlay file common_signin_btn_icon_disabled_dark.9.png, for flavor xhdpi-v4 found a match (3) for overlay file common_signin_btn_icon_disabled_dark.9.png, for flavor xxhdpi-v4 trying overlaySet Key=common_signin_btn_icon_disabled_focus_dark.9.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file common_signin_btn_icon_disabled_focus_dark.9.png, for flavor mdpi-v4 found a match (1) for overlay file common_signin_btn_icon_disabled_focus_dark.9.png, for flavor hdpi-v4 found a match (2) for overlay file common_signin_btn_icon_disabled_focus_dark.9.png, for flavor xhdpi-v4 found a match (3) for overlay file common_signin_btn_icon_disabled_focus_dark.9.png, for flavor xxhdpi-v4 trying overlaySet Key=common_signin_btn_icon_disabled_focus_light.9.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file common_signin_btn_icon_disabled_focus_light.9.png, for flavor mdpi-v4 found a match (1) for overlay file common_signin_btn_icon_disabled_focus_light.9.png, for flavor hdpi-v4 found a match (2) for overlay file common_signin_btn_icon_disabled_focus_light.9.png, for flavor xhdpi-v4 found a match (3) for overlay file common_signin_btn_icon_disabled_focus_light.9.png, for flavor xxhdpi-v4 trying overlaySet Key=common_signin_btn_icon_disabled_light.9.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file common_signin_btn_icon_disabled_light.9.png, for flavor mdpi-v4 found a match (1) for overlay file common_signin_btn_icon_disabled_light.9.png, for flavor hdpi-v4 found a match (2) for overlay file common_signin_btn_icon_disabled_light.9.png, for flavor xhdpi-v4 found a match (3) for overlay file common_signin_btn_icon_disabled_light.9.png, for flavor xxhdpi-v4 trying overlaySet Key=common_signin_btn_icon_focus_dark.9.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file common_signin_btn_icon_focus_dark.9.png, for flavor mdpi-v4 found a match (1) for overlay file common_signin_btn_icon_focus_dark.9.png, for flavor hdpi-v4 found a match (2) for overlay file common_signin_btn_icon_focus_dark.9.png, for flavor xhdpi-v4 found a match (3) for overlay file common_signin_btn_icon_focus_dark.9.png, for flavor xxhdpi-v4 trying overlaySet Key=common_signin_btn_icon_focus_light.9.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file common_signin_btn_icon_focus_light.9.png, for flavor mdpi-v4 found a match (1) for overlay file common_signin_btn_icon_focus_light.9.png, for flavor hdpi-v4 found a match (2) for overlay file common_signin_btn_icon_focus_light.9.png, for flavor xhdpi-v4 found a match (3) for overlay file common_signin_btn_icon_focus_light.9.png, for flavor xxhdpi-v4 trying overlaySet Key=common_signin_btn_icon_light.xml baseFile 0 has flavor overlayFile 0 has flavor found a match (0) for overlay file common_signin_btn_icon_light.xml, for flavor trying overlaySet Key=common_signin_btn_icon_normal_dark.9.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file common_signin_btn_icon_normal_dark.9.png, for flavor mdpi-v4 found a match (1) for overlay file common_signin_btn_icon_normal_dark.9.png, for flavor hdpi-v4 found a match (2) for overlay file common_signin_btn_icon_normal_dark.9.png, for flavor xhdpi-v4 found a match (3) for overlay file common_signin_btn_icon_normal_dark.9.png, for flavor xxhdpi-v4 trying overlaySet Key=common_signin_btn_icon_normal_light.9.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file common_signin_btn_icon_normal_light.9.png, for flavor mdpi-v4 found a match (1) for overlay file common_signin_btn_icon_normal_light.9.png, for flavor hdpi-v4 found a match (2) for overlay file common_signin_btn_icon_normal_light.9.png, for flavor xhdpi-v4 found a match (3) for overlay file common_signin_btn_icon_normal_light.9.png, for flavor xxhdpi-v4 trying overlaySet Key=common_signin_btn_icon_pressed_dark.9.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file common_signin_btn_icon_pressed_dark.9.png, for flavor mdpi-v4 found a match (1) for overlay file common_signin_btn_icon_pressed_dark.9.png, for flavor hdpi-v4 found a match (2) for overlay file common_signin_btn_icon_pressed_dark.9.png, for flavor xhdpi-v4 found a match (3) for overlay file common_signin_btn_icon_pressed_dark.9.png, for flavor xxhdpi-v4 trying overlaySet Key=common_signin_btn_icon_pressed_light.9.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file common_signin_btn_icon_pressed_light.9.png, for flavor mdpi-v4 found a match (1) for overlay file common_signin_btn_icon_pressed_light.9.png, for flavor hdpi-v4 found a match (2) for overlay file common_signin_btn_icon_pressed_light.9.png, for flavor xhdpi-v4 found a match (3) for overlay file common_signin_btn_icon_pressed_light.9.png, for flavor xxhdpi-v4 trying overlaySet Key=common_signin_btn_text_dark.xml baseFile 0 has flavor overlayFile 0 has flavor found a match (0) for overlay file common_signin_btn_text_dark.xml, for flavor trying overlaySet Key=common_signin_btn_text_disabled_dark.9.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file common_signin_btn_text_disabled_dark.9.png, for flavor mdpi-v4 found a match (1) for overlay file common_signin_btn_text_disabled_dark.9.png, for flavor hdpi-v4 found a match (2) for overlay file common_signin_btn_text_disabled_dark.9.png, for flavor xhdpi-v4 found a match (3) for overlay file common_signin_btn_text_disabled_dark.9.png, for flavor xxhdpi-v4 trying overlaySet Key=common_signin_btn_text_disabled_focus_dark.9.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file common_signin_btn_text_disabled_focus_dark.9.png, for flavor mdpi-v4 found a match (1) for overlay file common_signin_btn_text_disabled_focus_dark.9.png, for flavor hdpi-v4 found a match (2) for overlay file common_signin_btn_text_disabled_focus_dark.9.png, for flavor xhdpi-v4 found a match (3) for overlay file common_signin_btn_text_disabled_focus_dark.9.png, for flavor xxhdpi-v4 trying overlaySet Key=common_signin_btn_text_disabled_focus_light.9.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file common_signin_btn_text_disabled_focus_light.9.png, for flavor mdpi-v4 found a match (1) for overlay file common_signin_btn_text_disabled_focus_light.9.png, for flavor hdpi-v4 found a match (2) for overlay file common_signin_btn_text_disabled_focus_light.9.png, for flavor xhdpi-v4 found a match (3) for overlay file common_signin_btn_text_disabled_focus_light.9.png, for flavor xxhdpi-v4 trying overlaySet Key=common_signin_btn_text_disabled_light.9.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file common_signin_btn_text_disabled_light.9.png, for flavor mdpi-v4 found a match (1) for overlay file common_signin_btn_text_disabled_light.9.png, for flavor hdpi-v4 found a match (2) for overlay file common_signin_btn_text_disabled_light.9.png, for flavor xhdpi-v4 found a match (3) for overlay file common_signin_btn_text_disabled_light.9.png, for flavor xxhdpi-v4 trying overlaySet Key=common_signin_btn_text_focus_dark.9.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file common_signin_btn_text_focus_dark.9.png, for flavor mdpi-v4 found a match (1) for overlay file common_signin_btn_text_focus_dark.9.png, for flavor hdpi-v4 found Note that there are several **similar** posted problems on forums, but I have yet to find one whose solution fixed my problem. If you are trying to recreate my issue, you can set up an empty scene and integrate the two pretty easily. You'll have to make sure you setup the Google Play Services for Android before trying to build. Thanks in advance for any help! [1]: https://www.assetstore.unity3d.com/en/?gclid=Cj0KEQjwtO2wBRCu0d2dkvjVi5cBEiQAMEIVGRcjlQ29VQhk_yXoJKFe2Ch-w01dHKbIefz3iY4AIr0aAjeP8P8HAQ#!/content/6755 [2]: https://github.com/GameAnalytics/GA-SDK-UNITY [3]: https://github.com/playgameservices/play-games-plugin-for-unity

Viewing all articles
Browse latest Browse all 4084

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>