CommandInvokationFailure: Failed to re-package resources.
After integrating AdMob and Google play services, I am unable to build the apk.
There are two errors showing 1)Admob (manifest) 2)Google Play Services (manifest)
both seems to be related to android sdk build version, but I tried from each and every build tools of Rev 23 to 25, none of them worked.
here are the details of errors which console shows
1)Admob:(manifest)
CommandInvokationFailure: Failed to re-package resources. C:\Users\sksfu\AppData\Local\Android\sdk\build-tools\25.0.2\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:/Users/sksfu/AppData/Local/Android/sdk\platforms\android-25\android.jar" -F bin/resources.ap_ --extra-packages android.support.v7.appcompat:com.google.example.games.mainlibproj:com.google.android.gms.ads.impl:com.google.android.gms.ads:com.google.android.gms.auth.api:com.google.android.gms.auth:com.google.android.gms.base:com.google.android.gms.base:com.google.android.gms:com.google.android.gms:com.google.android.gms.drive:com.google.android.gms.games:com.google.android.gms.nearby:com.google.android.gms.tasks:android.support.v4 -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-ads-10.0.1\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-ads-lite-10.0.1\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-auth-10.2.0\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-auth-base-10.2.0\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-base-10.0.1\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-base-10.2.0\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-basement-10.0.1\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-basement-10.2.0\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-drive-10.2.0\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-games-10.2.0\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-nearby-10.2.0\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-tasks-10.2.0\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\support-v4-24.0.0\res"
stderr[ D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_button_bar_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_button_bar_material.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/abc_alert_dialog_button_bar_material for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_material.xml:48: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_material.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/abc_alert_dialog_material for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_dialog_title_material.xml:29: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/abc_dialog_title_material for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_screen_toolbar.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:touchscreenBlocksFocus from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/abc_screen_toolbar for configuration v21. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_search_view.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_search_view.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/abc_search_view for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml:42: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/notification_template_big_media for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:60: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:30: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/notification_template_big_media_narrow for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:77: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:96: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:64: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/notification_template_lines for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_media.xml:43: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_media.xml:33: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_media.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/notification_template_media for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_part_chronometer.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_part_chronometer.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/notification_template_part_chronometer for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_part_time.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_part_time.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/notification_template_part_time for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_multichoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_multichoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_multichoice_material.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/select_dialog_multichoice_material for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_singlechoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_singlechoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_singlechoice_material.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/select_dialog_singlechoice_material for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\drawable\abc_ratingbar_indicator_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:tileModeX from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\drawable\abc_ratingbar_indicator_material.xml: note: using v21 attributes; synthesizing resource com.PROTOSYS.ALTER:drawable/abc_ratingbar_indicator_material for configuration v21. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\drawable\abc_ratingbar_small_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:tileModeX from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\drawable\abc_ratingbar_small_material.xml: note: using v21 attributes; synthesizing resource com.PROTOSYS.ALTER:drawable/abc_ratingbar_small_material for configuration v21. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-base-10.0.1\res\values\values.xml:33: error: Attribute "imageAspectRatioAdjust" already defined with incompatible format. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-base-10.2.0\res\values\values.xml:34: Original attribute defined here. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-base-10.0.1\res\values\values.xml:46: error: Attribute "buttonSize" already defined with incompatible format. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-base-10.2.0\res\values\values.xml:47: Original attribute defined here. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-base-10.0.1\res\values\values.xml:54: error: Attribute "colorScheme" already defined with incompatible format. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-base-10.2.0\res\values\values.xml:55: Original attribute defined here. ] stdout[ Configurations: (default)
Files: AndroidManifest.xml Src: () AndroidManifest.xml
Resource Dirs: Including resources from package: C:\Users\sksfu\AppData\Local\Android\sdk\platforms\android-25\android.jar applyFileOverlay for drawable 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_focused.xml trying overlaySet Key=common_google_signin_btn_icon_dark_normal.xml trying overlaySet Key=common_google_signin_btn_icon_dark_normal_background.9.png trying overlaySet Key=common_google_signin_btn_icon_disabled.xml trying overlaySet Key=common_google_signin_btn_icon_light.xml trying overlaySet Key=common_google_signin_btn_icon_light_focused.xml trying overlaySet Key=common_google_signin_btn_icon_light_normal.xml trying overlaySet Key=common_google_signin_btn_icon_light_normal_background.9.png trying overlaySet Key=common_google_signin_btn_text_dark.xml trying overlaySet Key=common_google_signin_btn_text_dark_focused.xml trying overlaySet Key=common_google_signin_btn_text_dark_normal.xml trying overlaySet Key=common_google_signin_btn_text_dark_normal_background.9.png trying overlaySet Key=common_google
2)Google Play Services:(manifest)
CommandInvokationFailure: Failed to re-package resources. C:\Users\sksfu\AppData\Local\Android\sdk\build-tools\25.0.2\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:/Users/sksfu/AppData/Local/Android/sdk\platforms\android-25\android.jar" -F bin/resources.ap_ --extra-packages android.support.v7.appcompat:com.google.example.games.mainlibproj:com.google.android.gms.ads.impl:com.google.android.gms.ads:com.google.android.gms.auth.api:com.google.android.gms.auth:com.google.android.gms.base:com.google.android.gms.base:com.google.android.gms:com.google.android.gms:com.google.android.gms.drive:com.google.android.gms.games:com.google.android.gms.nearby:com.google.android.gms.tasks:android.support.v4 -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-ads-10.0.1\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-ads-lite-10.0.1\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-auth-10.2.0\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-auth-base-10.2.0\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-base-10.0.1\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-base-10.2.0\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-basement-10.0.1\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-basement-10.2.0\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-drive-10.2.0\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-games-10.2.0\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-nearby-10.2.0\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-tasks-10.2.0\res" -S "D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\support-v4-24.0.0\res"
stderr[ D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_button_bar_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_button_bar_material.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/abc_alert_dialog_button_bar_material for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_material.xml:48: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_material.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/abc_alert_dialog_material for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_dialog_title_material.xml:29: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/abc_dialog_title_material for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_screen_toolbar.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:touchscreenBlocksFocus from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/abc_screen_toolbar for configuration v21. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_search_view.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_search_view.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/abc_search_view for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml:42: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/notification_template_big_media for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:60: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:30: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/notification_template_big_media_narrow for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:77: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:96: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:64: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/notification_template_lines for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_media.xml:43: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_media.xml:33: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_media.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/notification_template_media for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_part_chronometer.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_part_chronometer.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/notification_template_part_chronometer for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_part_time.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_part_time.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/notification_template_part_time for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_multichoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_multichoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_multichoice_material.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/select_dialog_multichoice_material for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_singlechoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_singlechoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_singlechoice_material.xml: note: using v17 attributes; synthesizing resource com.PROTOSYS.ALTER:layout/select_dialog_singlechoice_material for configuration v17. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\drawable\abc_ratingbar_indicator_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:tileModeX from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\drawable\abc_ratingbar_indicator_material.xml: note: using v21 attributes; synthesizing resource com.PROTOSYS.ALTER:drawable/abc_ratingbar_indicator_material for configuration v21. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\drawable\abc_ratingbar_small_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:tileModeX from D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\drawable\abc_ratingbar_small_material.xml: note: using v21 attributes; synthesizing resource com.PROTOSYS.ALTER:drawable/abc_ratingbar_small_material for configuration v21. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-base-10.0.1\res\values\values.xml:33: error: Attribute "imageAspectRatioAdjust" already defined with incompatible format. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-base-10.2.0\res\values\values.xml:34: Original attribute defined here. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-base-10.0.1\res\values\values.xml:46: error: Attribute "buttonSize" already defined with incompatible format. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-base-10.2.0\res\values\values.xml:47: Original attribute defined here. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-base-10.0.1\res\values\values.xml:54: error: Attribute "colorScheme" already defined with incompatible format. D:\unity projexts\CLOUD PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-base-10.2.0\res\values\values.xml:55: Original attribute defined here. ] stdout[ Configurations: (default)
Files: AndroidManifest.xml Src: () AndroidManifest.xml
Resource Dirs: Including resources from package: C:\Users\sksfu\AppData\Local\Android\sdk\platforms\android-25\android.jar applyFileOverlay for drawable 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_focused.xml trying overlaySet Key=common_google_signin_btn_icon_dark_normal.xml trying overlaySet Key=common_google_signin_btn_icon_dark_normal_background.9.png trying overlaySet Key=common_google_signin_btn_icon_disabled.xml trying overlaySet Key=common_google_signin_btn_icon_light.xml trying overlaySet Key=common_google_signin_btn_icon_light_focused.xml trying overlaySet Key=common_google_signin_btn_icon_light_normal.xml trying overlaySet Key=common_google_signin_btn_icon_light_normal_background.9.png trying overlaySet Key=common_google_signin_btn_text_dark.xml trying overlaySet Key=common_google_signin_btn_text_dark_focused.xml trying overlaySet Key=common_google_signin_btn_text_dark_normal.xml trying overlaySet Key=common_google_signin_btn_text_dark_normal_background.9.png trying overlaySet Key=common_google
PROJECTS\ALTER\ALTER\Temp\StagingArea\android-libraries\play-services-base-10.0.1\res\values\ values.xml:33: error: Attribute "imageAspectRatioAdjust" already defined with incompatible format. D:\unity projexts\CLOUD
check this value.xml for attribute imageAspectRatioAdjust (and other which are logged above) and make sure there are no duplicates. there might be more than one value.xml
you have some conflict related to google play services libraries (and possibly others). I can assist you (usually takes $$anonymous$$utes), please contact me here: https://www.fiverr.com/lysergide/fix-android-build-issues-in-your-unity3d-project
Your answer
![](https://koobas.hobune.stream/wayback/20220612111924im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Do manifest files work the same way in a Unity gradle build vs. an exported one? 0 Answers
failed to re pack resources 0 Answers
App crashes since AdMob is added 0 Answers
Fail to merge manifest with admob [SOLVED] 0 Answers
Problem doing the build 0 Answers