- Home /
CommandInvokationFailure: Failed to re-package resources. See the Console for details.
I have tried all the other mentioned solutions, but I have not been able to figure out how to get this problem to go away. I am using Admob and UTNotifications. Any help would be greatly appreciated. This is my error code:
Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details. /Users/Fisher/Development/adt-bundle-mac-x86_64-20131030/sdk/build-tools/23.0.3/aapt package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "/Users/Fisher/Development/adt-bundle-mac-x86_64-20131030/sdk/platforms/android-24/android.jar" -F bin/resources.ap_ --extra-packages com.google.unity:me.leolin.shortcutbadger:com.google.android.gms.base:com.google.android.gms:com.google.android.gms.gcm:com.google.android.gms.iid:com.google.android.gms.tasks:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:com.FisherHarris.RealWheelie:com.unity3d.ads.android:universal.tools.notifications -S "/Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/ShortcutBadger-1.1.5/res" -S "/Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res" -S "/Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-basement-9.4.0/res" -S "/Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-gcm-9.4.0/res" -S "/Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-iid-9.4.0/res" -S "/Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-tasks-9.4.0/res" -S "/Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/support-compat-24.2.0/res" -S "/Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/support-core-ui-24.2.0/res" -S "/Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/support-core-utils-24.2.0/res" -S "/Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/support-fragment-24.2.0/res" -S "/Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/support-media-compat-24.2.0/res" -S "/Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/support-v4-24.2.0/res" -S "/Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unity-android-resources/res" -S "/Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unityads-release/res" -S "/Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/utnotifications/res"
stderr[ /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unityads-release/res/layout/unityads_button_audio_toggle.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unityads-release/res/layout/unityads_button_audio_toggle.xml:61: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unityads-release/res/layout/unityads_button_audio_toggle.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentStart from /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unityads-release/res/layout/unityads_button_audio_toggle.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unityads-release/res/layout/unityads_button_audio_toggle.xml:52: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unityads-release/res/layout/unityads_button_audio_toggle.xml:44: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unityads-release/res/layout/unityads_button_audio_toggle.xml:19: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentStart from /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unityads-release/res/layout/unityads_button_audio_toggle.xml:10: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unityads-release/res/layout/unityads_button_audio_toggle.xml: note: using v17 attributes; synthesizing resource com.FisherHarris.RealWheelie:layout/unityads_button_audio_toggle for configuration v17. /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unityads-release/res/layout/unityads_button_pause.xml:8: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unityads-release/res/layout/unityads_button_pause.xml: note: using v17 attributes; synthesizing resource com.FisherHarris.RealWheelie:layout/unityads_button_pause for configuration v17. /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unityads-release/res/layout/unityads_view_video_play.xml:92: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentStart from /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unityads-release/res/layout/unityads_view_video_play.xml:57: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unityads-release/res/layout/unityads_view_video_play.xml:57: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unityads-release/res/layout/unityads_view_video_play.xml:44: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unityads-release/res/layout/unityads_view_video_play.xml:29: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unityads-release/res/layout/unityads_view_video_play.xml: note: using v17 attributes; synthesizing resource com.FisherHarris.RealWheelie:layout/unityads_view_video_play for configuration v17. /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/unity-android-resources/res/values/version.xml:1: error: Error parsing XML: XML or text declaration not at start of entity
] stdout[ Configurations: (default)
Files: AndroidManifest.xml Src: () AndroidManifest.xml
Resource Dirs: Including resources from package: /Users/Fisher/Development/adt-bundle-mac-x86_64-20131030/sdk/platforms/android-24/android.jar applyFileOverlay for drawable trying overlaySet Key=unityads_background_button_pause.xml trying overlaySet Key=unityads_icon_play.xml trying overlaySet Key=unityads_icon_speaker_base.xml trying overlaySet Key=unityads_icon_speaker_triangle.xml trying overlaySet Key=unityads_icon_speaker_waves.xml trying overlaySet Key=common_full_open_on_phone.png trying overlaySet Key=common_google_signin_btn_icon_dark.xml trying overlaySet Key=common_google_signin_btn_icon_dark_disabled.9.png trying overlaySet Key=common_google_signin_btn_icon_dark_focused.9.png trying overlaySet Key=common_google_signin_btn_icon_dark_normal.9.png trying overlaySet Key=common_google_signin_btn_icon_dark_pressed.9.png trying overlaySet Key=common_google_signin_btn_icon_light.xml trying overlaySet Key=common_google_signin_btn_icon_light_disabled.9.png trying overlaySet Key=common_google_signin_btn_icon_light_focused.9.png trying overlaySet Key=common_google_signin_btn_icon_light_normal.9.png trying overlaySet Key=common_google_signin_btn_icon_light_pressed.9.png trying overlaySet Key=common_google_signin_btn_text_dark.xml trying overlaySet Key=common_google_signin_btn_text_dark_disabled.9.png trying overlaySet Key=common_google_signin_btn_text_dark_focused.9.png trying overlaySet Key=common_google_signin_btn_text_dark_normal.9.png trying overlaySet Key=common_google_signin_btn_text_dark_pressed.9.png trying overlaySet Key=common_google_signin_btn_text_light.xml trying overlaySet Key=common_google_signin_btn_text_light_disabled.9.png trying overlaySet Key=common_google_signin_btn_text_light_focused.9.png trying overlaySet Key=common_google_signin_btn_text_light_normal.9.png trying overlaySet Key=common_google_signin_btn_text_light_pressed.9.png trying overlaySet Key=common_ic_googleplayservices.png trying overlaySet Key=common_plus_signin_btn_icon_dark.xml trying overlaySet Key=common_plus_signin_btn_icon_dark_disabled.9.png trying overlaySet Key=common_plus_signin_btn_icon_dark_focused.9.png trying overlaySet Key=common_plus_signin_btn_icon_dark_normal.9.png trying overlaySet Key=common_plus_signin_btn_icon_dark_pressed.9.png trying overlaySet Key=common_plus_signin_btn_icon_light.xml trying overlaySet Key=common_plus_signin_btn_icon_light_disabled.9.png trying overlaySet Key=common_plus_signin_btn_icon_light_focused.9.png trying overlaySet Key=common_plus_signin_btn_icon_light_normal.9.png trying overlaySet Key=common_plus_signin_btn_icon_light_pressed.9.png trying overlaySet Key=common_plus_signin_btn_text_dark.xml trying overlaySet Key=common_plus_signin_btn_text_dark_disabled.9.png trying overlaySet Key=common_plus_signin_btn_text_dark_focused.9.png trying overlaySet Key=common_plus_signin_btn_text_dark_normal.9.png trying overlaySet Key=common_plus_signin_btn_text_dark_pressed.9.png trying overlaySet Key=common_plus_signin_btn_text_light.xml trying overlaySet Key=common_plus_signin_btn_text_light_disabled.9.png trying overlaySet Key=common_plus_signin_btn_text_light_focused.9.png trying overlaySet Key=common_plus_signin_btn_text_light_normal.9.png trying overlaySet Key=common_plus_signin_btn_text_light_pressed.9.png trying overlaySet Key=app_banner.png trying overlaySet Key=app_icon.png applyFileOverlay for layout trying overlaySet Key=unityads_button_audio_toggle.xml trying overlaySet Key=unityads_button_pause.xml trying overlaySet Key=unityads_view_video_paused.xml trying overlaySet Key=unityads_view_video_play.xml applyFileOverlay for anim applyFileOverlay for animator applyFileOverlay for interpolator applyFileOverlay for transition applyFileOverlay for xml applyFileOverlay for raw applyFileOverlay for color trying overlaySet Key=common_google_signin_btn_text_dark.xml trying overlaySet Key=common_google_signin_btn_text_light.xml trying overlaySet Key=common_plus_signin_btn_text_dark.xml trying overlaySet Key=common_plus_signin_btn_text_light.xml applyFileOverlay for menu applyFileOverlay for mipmap Processing image: res/drawable/app_icon.png Processing image: res/drawable-xhdpi/app_banner.png Processing image: res/drawable-ldpi/app_icon.png Processing image: res/drawable-hdpi/app_icon.png (processed image res/drawable-ldpi/app_icon.png: 100% size of source) Processing image: res/drawable-xhdpi/app_icon.png (processed image res/drawable/app_icon.png: 100% size of source) Processing image: res/drawable-xxhdpi/app_icon.png (processed image res/drawable-hdpi/app_icon.png: 98% size of source) Processing image: res/drawable-xxxhdpi/app_icon.png (processed image res/drawable-xhdpi/app_icon.png: 97% size of source) Processing image: /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-mdpi-v4/common_full_open_on_phone.png (processed image /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-mdpi-v4/common_full_open_on_phone.png: 136% size of source) Processing image: /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-tvdpi-v4/common_full_open_on_phone.png (processed image /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-tvdpi-v4/common_full_open_on_phone.png: 105% size of source) Processing image: /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-hdpi-v4/common_full_open_on_phone.png (processed image /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-hdpi-v4/common_full_open_on_phone.png: 105% size of source) Processing image: /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-xhdpi-v4/common_full_open_on_phone.png (processed image res/drawable-xhdpi/app_banner.png: 93% size of source) Processing image: /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-xxhdpi-v4/common_full_open_on_phone.png (processed image /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-xhdpi-v4/common_full_open_on_phone.png: 105% size of source) Processing image: /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-mdpi-v4/common_google_signin_btn_icon_dark_disabled.9.png (processed image /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-xxhdpi-v4/common_full_open_on_phone.png: 105% size of source) Processing image: /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-tvdpi-v4/common_google_signin_btn_icon_dark_disabled.9.png (processed image /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-mdpi-v4/common_google_signin_btn_icon_dark_disabled.9.png: 270% size of source) Processing image: /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-hdpi-v4/common_google_signin_btn_icon_dark_disabled.9.png (processed image /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-tvdpi-v4/common_google_signin_btn_icon_dark_disabled.9.png: 242% size of source) Processing image: /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-xhdpi-v4/common_google_signin_btn_icon_dark_disabled.9.png (processed image /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-hdpi-v4/common_google_signin_btn_icon_dark_disabled.9.png: 268% size of source) Processing image: /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-xxhdpi-v4/common_google_signin_btn_icon_dark_disabled.9.png (processed image /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-xhdpi-v4/common_google_signin_btn_icon_dark_disabled.9.png: 261% size of source) Processing image: /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-mdpi-v4/common_google_signin_btn_icon_dark_focused.9.png (processed image /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-mdpi-v4/common_google_signin_btn_icon_dark_focused.9.png: 151% size of source) Processing image: /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-tvdpi-v4/common_google_signin_btn_icon_dark_focused.9.png (processed image /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-xxhdpi-v4/common_google_signin_btn_icon_dark_disabled.9.png: 244% size of source) Processing image: /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-hdpi-v4/common_google_signin_btn_icon_dark_focused.9.png (processed image /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-tvdpi-v4/common_google_signin_btn_icon_dark_focused.9.png: 126% size of source) Processing image: /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-xhdpi-v4/common_google_signin_btn_icon_dark_focused.9.png (processed image res/drawable-xxhdpi/app_icon.png: 96% size of source) Processing image: /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-xxhdpi-v4/common_google_signin_btn_icon_dark_focused.9.png (processed image /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-hdpi-v4/common_google_signin_btn_icon_dark_focused.9.png: 142% size of source) Processing image: /Users/Fisher/Greg 2.0/Temp/StagingArea/android-libraries/play-services-base-9.4.0/res/drawable-m
Could not resolve the issue, so I had to uninstall the plugin that I was using and replace my android sub folder in plugins with a back up version from a while ago
Your answer
![](https://koobas.hobune.stream/wayback/20220612092532im_/https://answers.unity.com/themes/thub/images/avi.jpg)