Search Unity

failed to repackage resources unity 2017.1.3f1

Discussion in 'Editor & General Support' started by daringgames, Nov 13, 2018.

  1. daringgames

    daringgames

    Joined:
    Sep 4, 2018
    Posts:
    2
    CommandInvokationFailure: Failed to re-package resources.
    C:\Users\Hp\AppData\Local\Android\sdk\build-tools\27.0.3\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:/Users/Hp/AppData/Local/Android/sdk\platforms\android-27\android.jar" -F bin/resources.ap_ --extra-packages android.support.v7.appcompat:com.facebook.ads:com.heyzap:com.Company.ProductName: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.safetynet:com.google.android.gms.tasks:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:com.unity3d.ads:com.pushok.test -S "D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res" -S "D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\AudienceNetwork-4.24.0\res" -S "D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\play-services-ads-11.0.4\res" -S "D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\play-services-ads-lite-11.0.4\res" -S "D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\play-services-base-11.0.4\res" -S "D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\play-services-basement-11.0.4\res" -S "D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\play-services-clearcut-11.0.4\res" -S "D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\play-services-gass-11.0.4\res" -S "D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\play-services-safetynet-11.0.4\res" -S "D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\play-services-tasks-11.0.4\res" -S "D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\support-compat-25.2.0\res" -S "D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\support-core-ui-25.2.0\res" -S "D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\support-core-utils-25.2.0\res" -S "D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\support-fragment-25.2.0\res" -S "D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\support-media-compat-25.2.0\res" -S "D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\support-v4-25.2.0\res" -S "D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\UnityAds\res"

    stderr[
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_alert_dialog_button_bar_material.xml: note: using v17 attributes; synthesizing resource com.pp.spider.web.rope.hero:layout/abc_alert_dialog_button_bar_material for configuration v17.
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_alert_dialog_material.xml: note: using v17 attributes; synthesizing resource com.pp.spider.web.rope.hero:layout/abc_alert_dialog_material for configuration v17.
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <TextView>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.pp.spider.web.rope.hero:layout/abc_dialog_title_material for configuration v17.
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource com.pp.spider.web.rope.hero:layout/abc_screen_toolbar for configuration v21.
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <LinearLayout>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\abc_search_view.xml: note: using v17 attributes; synthesizing resource com.pp.spider.web.rope.hero:layout/abc_search_view for configuration v17.
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <LinearLayout>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <include>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <include>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.pp.spider.web.rope.hero:layout/notification_template_big_media for configuration v17.
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <ImageView>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <LinearLayout>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <LinearLayout>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <include>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <include>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <include>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_big_media_narrow.xml: note: using v17 attributes; synthesizing resource com.pp.spider.web.rope.hero:layout/notification_template_big_media_narrow for configuration v17.
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <LinearLayout>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <LinearLayout>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <TextView>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <TextView>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <LinearLayout>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_lines.xml: note: using v17 attributes; synthesizing resource com.pp.spider.web.rope.hero:layout/notification_template_lines for configuration v17.
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <include>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <LinearLayout>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_media.xml: note: using v17 attributes; synthesizing resource com.pp.spider.web.rope.hero:layout/notification_template_media for configuration v17.
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <Chronometer>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_part_chronometer.xml: note: using v17 attributes; synthesizing resource com.pp.spider.web.rope.hero:layout/notification_template_part_chronometer for configuration v17.
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <DateTimeView>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\notification_template_part_time.xml: note: using v17 attributes; synthesizing resource com.pp.spider.web.rope.hero:layout/notification_template_part_time for configuration v17.
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <CheckedTextView>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <CheckedTextView>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\select_dialog_multichoice_material.xml: note: using v17 attributes; synthesizing resource com.pp.spider.web.rope.hero:layout/select_dialog_multichoice_material for configuration v17.
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <CheckedTextView>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\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 <CheckedTextView>
    D:\Abdul_Projects\001_SpiderRopeHero_17_9_2018\SpiderManRopeHeroGta\Temp\StagingArea\android-libraries\appcompat-v7-23.1.1\res\layout\select_dialog_singlechoice_material.xml: note: using v17 attributes; synthesizing resource com.pp.spider.web.rope.hero:layout/select_dialog_singlechoice_material for configuration v17.
    AndroidManifest.xml:17: error: Error: No resource found that matches the given name (at 'banner' with value '@drawable/app_banner').

    ]
    stdout[
    Configurations:
    (default)

    Files:
    AndroidManifest.xml
    Src: () AndroidManifest.xml

    Resource Dirs:
    Including resources from package: C:\Users\Hp\AppData\Local\Android\sdk\platforms\android-27\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_signin_btn_text_disabled.xml
    trying overlaySet Key=common_google_signin_btn_text_light.xml
    trying overlaySet Key=common_google_signin_btn_text_light_focused.xml
    trying overlaySet Key=common_google_signin_btn_text_light_normal.xml
    trying<message truncated>
     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    This is the actual error:
    You are probably using Gradle to build your project, and one of your android libraries are referencing resource values that are declared in another library.