CommandInvokationFailure: Failed to re-package resources

So yeah , pretty much what the title says. This is the full error that I’m getting. Any help would be greatly appreciated. It’s a simple 2D game I’m trying to build.

CommandInvokationFailure: Failed to re-package resources.
D:\SDK\build-tools\25.0.2\aapt.exe package --auto-add-overlay -v -f -m -J “gen” -M “AndroidManifest.xml” -S “res” -I “D:/SDK\platforms\android-25\android.jar” -F bin/resources.ap_ --extra-packages android.support.v7.appcompat:com.facebook.android:com.google.android.gms:com.google.unity:com.google.android.gms.ads.impl:com.google.android.gms.ads:com.google.android.gms.base:com.google.android.gms:com.google.android.gms.clearcut:com.google.android.gms.gass:com.google.android.gms.tasks:android.support.v4:vn.goldenapp.happyfarmoffline.resources:com.pushok.test -S “D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res” -S “D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\facebook\res” -S “D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\google-play-services_lib\res” -S “D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\play-services-ads-10.0.1\res” -S “D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\play-services-ads-lite-10.0.1\res” -S “D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\play-services-base-10.0.1\res” -S “D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\play-services-basement-10.0.1\res” -S “D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\play-services-clearcut-10.0.1\res” -S “D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\play-services-gass-10.0.1\res” -S “D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\play-services-tasks-10.0.1\res” -S “D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\support-v4-24.0.0\res” -S “D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\unity-android-resources\res”

stderr[
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_alert_dialog_button_bar_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <android.support.v7.widget.ButtonBarLayout>
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_alert_dialog_button_bar_material.xml: note: using v17 attributes; synthesizing resource vn.goldenapp.happyfarmoffline:layout/abc_alert_dialog_button_bar_material for configuration v17.
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_alert_dialog_material.xml:48: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from <android.support.v7.widget.DialogTitle>
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_alert_dialog_material.xml: note: using v17 attributes; synthesizing resource vn.goldenapp.happyfarmoffline:layout/abc_alert_dialog_material for configuration v17.
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_dialog_title_material.xml:29: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource vn.goldenapp.happyfarmoffline:layout/abc_dialog_title_material for configuration v17.
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_screen_toolbar.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:touchscreenBlocksFocus from <android.support.v7.widget.ActionBarContainer>
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource vn.goldenapp.happyfarmoffline:layout/abc_screen_toolbar for configuration v21.
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_search_view.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_search_view.xml: note: using v17 attributes; synthesizing resource vn.goldenapp.happyfarmoffline:layout/abc_search_view for configuration v17.
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_big_media.xml:42: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_big_media.xml: note: using v17 attributes; synthesizing resource vn.goldenapp.happyfarmoffline:layout/notification_template_big_media for configuration v17.
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_big_media_narrow.xml:60: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_big_media_narrow.xml:30: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_big_media_narrow.xml: note: using v17 attributes; synthesizing resource vn.goldenapp.happyfarmoffline:layout/notification_template_big_media_narrow for configuration v17.
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_lines.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_lines.xml:77: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_lines.xml:96: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_lines.xml:64: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_lines.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_lines.xml: note: using v17 attributes; synthesizing resource vn.goldenapp.happyfarmoffline:layout/notification_template_lines for configuration v17.
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_media.xml:43: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_media.xml:33: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_media.xml: note: using v17 attributes; synthesizing resource vn.goldenapp.happyfarmoffline:layout/notification_template_media for configuration v17.
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_part_chronometer.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_part_chronometer.xml: note: using v17 attributes; synthesizing resource vn.goldenapp.happyfarmoffline:layout/notification_template_part_chronometer for configuration v17.
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_part_time.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_part_time.xml: note: using v17 attributes; synthesizing resource vn.goldenapp.happyfarmoffline:layout/notification_template_part_time for configuration v17.
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\google-play-services_lib\res\layout\place_autocomplete_item_powered_by_google.xml:28: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\google-play-services_lib\res\layout\place_autocomplete_item_powered_by_google.xml:28: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\google-play-services_lib\res\layout\place_autocomplete_item_powered_by_google.xml:8: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\google-play-services_lib\res\layout\place_autocomplete_item_powered_by_google.xml: note: using v17 attributes; synthesizing resource vn.goldenapp.happyfarmoffline:layout/place_autocomplete_item_powered_by_google for configuration v17.
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\google-play-services_lib\res\layout\place_autocomplete_item_prediction.xml:52: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\google-play-services_lib\res\layout\place_autocomplete_item_prediction.xml:35: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\google-play-services_lib\res\layout\place_autocomplete_item_prediction.xml:8: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentStart from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\google-play-services_lib\res\layout\place_autocomplete_item_prediction.xml: note: using v17 attributes; synthesizing resource vn.goldenapp.happyfarmoffline:layout/place_autocomplete_item_prediction for configuration v17.
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\google-play-services_lib\res\layout\place_autocomplete_progress.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:indeterminateTint from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\google-play-services_lib\res\layout\place_autocomplete_progress.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:indeterminateTintMode from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\google-play-services_lib\res\layout\place_autocomplete_progress.xml: note: using v21 attributes; synthesizing resource vn.goldenapp.happyfarmoffline:layout/place_autocomplete_progress for configuration v21.
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\select_dialog_multichoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\select_dialog_multichoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\select_dialog_multichoice_material.xml: note: using v17 attributes; synthesizing resource vn.goldenapp.happyfarmoffline:layout/select_dialog_multichoice_material for configuration v17.
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\select_dialog_singlechoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\select_dialog_singlechoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\select_dialog_singlechoice_material.xml: note: using v17 attributes; synthesizing resource vn.goldenapp.happyfarmoffline:layout/select_dialog_singlechoice_material for configuration v17.
D:\GAMES\HappyFarmOffline_APK_SOURCE\HappyFarmOffline\Temp\StagingArea\android-libraries\goo

The message is truncated (see the last few words). You should get the full log (Editor log) which will contain the full error message.