- Home /
Question by
blightjssp · Aug 24, 2018 at 08:05 PM ·
build errorerror build
Android build failed with error: CommandInvokationFailure: Failed to re-package resources.
I have this error when build. How do I fix? Please help me.
CommandInvokationFailure: Failed to re-package resources.
C:\Users\bligh\AppData\Local\Android\sdk\build-tools\26.0.2\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:/Users/bligh/AppData/Local/Android/sdk\platforms\android-26\android.jar" -F bin/resources.ap_ --extra-packages android.arch.lifecycle:android.support.graphics.drawable.animated:android.support.v7.appcompat:android.support.v7.cardview:android.support.customtabs:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:android.support.graphics.drawable:com.google.android.gms.ads.impl:com.google.android.gms.ads_base:com.google.android.gms.ads_identifier:com.google.android.gms.ads:com.google.android.gms.auth.api:com.google.android.gms.auth.api.phone:com.google.android.gms.auth:com.google.android.gms.base:com.google.android.gms.common:com.google.android.gms.drive:com.google.android.gms.games:com.google.android.gms.gass:com.google.android.gms.nearby:com.google.android.gms.tasks:com.google.games.bridge:com.facebook.android:com.facebook.applinks:com.facebook.common:com.facebook.core:com.facebook.login:com.facebook.messenger:com.facebook.places:com.facebook.share:com.google.unity.ads:com.google.example.games.mainlibproj:com.unity3d.ads -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\android.arch.lifecycle.runtime-1.0.0\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.animated-vector-drawable-26.1.0\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.cardview-v7-26.1.0\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.customtabs-26.1.0\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-core-ui-26.1.0\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-core-utils-26.1.0\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-fragment-26.1.0\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-v4-26.1.0\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-vector-drawable-26.1.0\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-ads-15.0.1\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-ads-lite-15.0.1\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-auth-16.0.0\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-base-15.0.1\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-basement-15.0.1\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.google.games.gpgs-plugin-support-0.9.50\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\facebook-android-wrapper-7.12.1\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\facebook-common\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\facebook-login\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\facebook-messenger\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\facebook-share\res" -S "C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\unity-ads\res"
stderr[
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_action_mode_close_item_material.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_action_mode_close_item_material.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_action_mode_close_item_material.xml: note: using v17 attributes; synthesizing resource com.LightXIII.BirdJumpingng:layout/abc_action_mode_close_item_material for configuration v17.
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_alert_dialog_button_bar_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:scrollIndicators from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_alert_dialog_button_bar_material.xml:26: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_alert_dialog_button_bar_material.xml: note: using v17 attributes; synthesizing resource com.LightXIII.BirdJumpingng:layout/abc_alert_dialog_button_bar_material for configuration v17.
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_alert_dialog_title_material.xml:45: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_alert_dialog_title_material.xml:36: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_alert_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.LightXIII.BirdJumpingng:layout/abc_alert_dialog_title_material for configuration v17.
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_dialog_title_material.xml:29: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.LightXIII.BirdJumpingng:layout/abc_dialog_title_material for configuration v17.
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_popup_menu_header_item_layout.xml:24: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_popup_menu_header_item_layout.xml: note: using v17 attributes; synthesizing resource com.LightXIII.BirdJumpingng:layout/abc_popup_menu_header_item_layout for configuration v17.
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_popup_menu_item_layout.xml:59: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_popup_menu_item_layout.xml: note: using v17 attributes; synthesizing resource com.LightXIII.BirdJumpingng:layout/abc_popup_menu_item_layout for configuration v17.
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_screen_toolbar.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:touchscreenBlocksFocus from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource com.LightXIII.BirdJumpingng:layout/abc_screen_toolbar for configuration v21.
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_search_view.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_search_view.xml: note: using v17 attributes; synthesizing resource com.LightXIII.BirdJumpingng:layout/abc_search_view for configuration v17.
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_select_dialog_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-26.1.0\res\layout\abc_select_dialog_material.xml: note: using v17 attributes; synthesizing resource com.LightXIII.BirdJumpingng:layout/abc_select_dialog_material for configuration v17.
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\facebook-common\res\layout\com_facebook_device_auth_dialog_fragment.xml:80: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\facebook-common\res\layout\com_facebook_device_auth_dialog_fragment.xml:80: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\facebook-common\res\layout\com_facebook_device_auth_dialog_fragment.xml: note: using v17 attributes; synthesizing resource com.LightXIII.BirdJumpingng:layout/com_facebook_device_auth_dialog_fragment for configuration v17.
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\facebook-common\res\layout\com_facebook_smart_device_dialog_fragment.xml:94: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\facebook-common\res\layout\com_facebook_smart_device_dialog_fragment.xml:94: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\facebook-common\res\layout\com_facebook_smart_device_dialog_fragment.xml:83: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\facebook-common\res\layout\com_facebook_smart_device_dialog_fragment.xml:83: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\facebook-common\res\layout\com_facebook_smart_device_dialog_fragment.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\facebook-common\res\layout\com_facebook_smart_device_dialog_fragment.xml: note: using v17 attributes; synthesizing resource com.LightXIII.BirdJumpingng:layout/com_facebook_smart_device_dialog_fragment for configuration v17.
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout\notification_action.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout\notification_action.xml:32: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout\notification_action.xml: note: using v17 attributes; synthesizing resource com.LightXIII.BirdJumpingng:layout/notification_action for configuration v17.
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout\notification_action_tombstone.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout\notification_action_tombstone.xml:37: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\layout\notification_action_tombstone.xml: note: using v17 attributes; synthesizing resource com.LightXIII.BirdJumpingng:layout/notification_action_tombstone for configuration v17.
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media.xml:42: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.LightXIII.BirdJumpingng:layout/notification_template_big_media for configuration v17.
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_custom.xml:89: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_custom.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
C:\XIII\W\Projects\1MyC\Bird Jumping\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res\layout\notification_template_big_media_custom.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStart
Comment
Your answer

Follow this Question
Related Questions
Error 0x00050 building unity2017 0 Answers
Issue with Android SDK and JDK for Unity 5.4.x 1 Answer
Unity is not letting me Build 1 Answer