• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Fizzburrito · Sep 12, 2016 at 04:42 AM · errorerror messageapkerror-building-player

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

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Fizzburrito · Sep 11, 2016 at 03:23 PM 0
Share

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

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Gradle Build Failed 0 Answers

error CS0246: The type or namespace name 'EditModeInputHandler' could not be found (are you missing a using directive or an assembly reference?) 1 Answer

When i export my oculus quest 2 game to .apk i get these 6 errors 0 Answers

Error building Player: Exception: Failed to run assembly converter with command line -platform=wp80 0 Answers

UnityPlayer.dll caused an Access Violation (0xc0000005) in module UnityPlayer.dll at 0033:5c78155e. 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges