Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Failed to re-package resources : aapt.exe package

Discussion in 'Editor & General Support' started by Shadehater, Jun 16, 2016.

  1. Yury-Habets

    Yury-Habets

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    1,069
    Should be:
    2018.1a1
    2017.3b8
    2017.2.0p2
    2017.1.2p3
    5.6.4p3
     
  2. FineAllDay

    FineAllDay

    Joined:
    Jun 14, 2016
    Posts:
    9
    Hi! I have a similar problem that I haven't been able to fix for several days. I have install 2017.2.0p2 + sdk 26 hoping it would fix the problem but it did not. So any help really welcome :)

    Here is the error I get:

    CommandInvokationFailure: Failed to re-package resources.
    C:\Users\Utilisateur\AppData\Local\Android\sdk\build-tools\26.0.0\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:/Users/Utilisateur/AppData/Local/Android/sdk\platforms\android-26\android.jar" -F bin/resources.ap_ --extra-packages com.unity.purchasing:com.android.vending.billing:com.unity.purchasing.googleplay:com.google.example.games.mainlibproj:com.google.games.bridge:com.heyzap:com.google.android.gms.auth.api:com.google.android.gms.auth:com.google.android.gms.base: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.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:com.unity3d.ads -S "D:\rhino\Rhino\Temp\StagingArea\android-libraries\common\res" -S "D:\rhino\Rhino\Temp\StagingArea\android-libraries\GoogleAIDL\res" -S "D:\rhino\Rhino\Temp\StagingArea\android-libraries\GooglePlay\res" -S "D:\rhino\Rhino\Temp\StagingArea\android-libraries\gpgs-plugin-support-0.9.42\res" -S "D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-auth-10.2.6\res" -S "D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-auth-base-10.2.6\res" -S "D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res" -S "D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-basement-10.2.6\res" -S "D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-drive-10.2.6\res" -S "D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-games-10.2.6\res" -S "D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-nearby-10.2.6\res" -S "D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-tasks-10.2.6\res" -S "D:\rhino\Rhino\Temp\StagingArea\android-libraries\support-compat-25.2.0\res" -S "D:\rhino\Rhino\Temp\StagingArea\android-libraries\support-core-ui-25.2.0\res" -S "D:\rhino\Rhino\Temp\StagingArea\android-libraries\support-core-utils-25.2.0\res" -S "D:\rhino\Rhino\Temp\StagingArea\android-libraries\support-fragment-25.2.0\res" -S "D:\rhino\Rhino\Temp\StagingArea\android-libraries\support-media-compat-25.2.0\res" -S "D:\rhino\Rhino\Temp\StagingArea\android-libraries\support-v4-25.2.0\res" -S "D:\rhino\Rhino\Temp\StagingArea\android-libraries\UnityAds\res"

    stderr[
    AndroidManifest.xml:4: 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\Utilisateur\AppData\Local\Android\sdk\platforms\android-26\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 overlaySet Key=common_google_signin_btn_text_light_normal_background.9.png
    trying overlaySet Key=googleg_disabled_color_18.png
    trying overlaySet Key=googleg_standard_color_18.png
    trying overlaySet Key=ic_launcher.png
    trying overlaySet Key=app_icon.png
    trying overlaySet Key=unity_static_splash.png
    applyFileOverlay for layout
    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_google_signin_btn_tint.xml
    applyFileOverlay for menu
    applyFileOverlay for font
    applyFileOverlay for mipmap
    Processing image: res\drawable-ldpi\app_icon.png
    Processing image: res\drawable-mdpi\app_icon.png
    Processing image: res\drawable-hdpi\app_icon.png
    Processing image: res\drawable-xhdpi\app_icon.png
    (processed image res\drawable-ldpi\app_icon.png: 99% size of source)
    Processing image: res\drawable-xxhdpi\app_icon.png
    (processed image res\drawable-mdpi\app_icon.png: 100% size of source)
    Processing image: res\drawable-xxxhdpi\app_icon.png
    (processed image res\drawable-hdpi\app_icon.png: 99% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-hdpi-v4\common_full_open_on_phone.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-hdpi-v4\common_full_open_on_phone.png: 120% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xhdpi-v4\common_full_open_on_phone.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xhdpi-v4\common_full_open_on_phone.png: 105% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-mdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-mdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png: 164% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-hdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-hdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png: 151% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xhdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png
    (processed image res\drawable-xhdpi\app_icon.png: 99% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xxhdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xhdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png: 138% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-mdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-mdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png: 169% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-hdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-hdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png: 146% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xhdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xxhdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png: 136% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xxhdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xhdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png: 135% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-mdpi-v4\common_google_signin_btn_text_dark_normal_background.9.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-mdpi-v4\common_google_signin_btn_text_dark_normal_background.9.png: 152% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-hdpi-v4\common_google_signin_btn_text_dark_normal_background.9.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-hdpi-v4\common_google_signin_btn_text_dark_normal_background.9.png: 129% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xhdpi-v4\common_google_signin_btn_text_dark_normal_background.9.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xxhdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png: 134% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xxhdpi-v4\common_google_signin_btn_text_dark_normal_background.9.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xhdpi-v4\common_google_signin_btn_text_dark_normal_background.9.png: 130% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-mdpi-v4\common_google_signin_btn_text_light_normal_background.9.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-mdpi-v4\common_google_signin_btn_text_light_normal_background.9.png: 156% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-hdpi-v4\common_google_signin_btn_text_light_normal_background.9.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xxhdpi-v4\common_google_signin_btn_text_dark_normal_background.9.png: 132% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xhdpi-v4\common_google_signin_btn_text_light_normal_background.9.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-hdpi-v4\common_google_signin_btn_text_light_normal_background.9.png: 127% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xxhdpi-v4\common_google_signin_btn_text_light_normal_background.9.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xhdpi-v4\common_google_signin_btn_text_light_normal_background.9.png: 128% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-mdpi-v4\googleg_disabled_color_18.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-mdpi-v4\googleg_disabled_color_18.png: 164% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-hdpi-v4\googleg_disabled_color_18.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-hdpi-v4\googleg_disabled_color_18.png: 153% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xhdpi-v4\googleg_disabled_color_18.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xhdpi-v4\googleg_disabled_color_18.png: 153% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xxhdpi-v4\googleg_disabled_color_18.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xxhdpi-v4\googleg_disabled_color_18.png: 146% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-mdpi-v4\googleg_standard_color_18.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-mdpi-v4\googleg_standard_color_18.png: 123% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-hdpi-v4\googleg_standard_color_18.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-hdpi-v4\googleg_standard_color_18.png: 122% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xhdpi-v4\googleg_standard_color_18.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xhdpi-v4\googleg_standard_color_18.png: 125% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xxhdpi-v4\googleg_standard_color_18.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xxhdpi-v4\googleg_standard_color_18.png: 117% size of source)
    Processing image: D:\rhino\Rhino\Temp\StagingArea\android-libraries\gpgs-plugin-support-0.9.42\res\drawable-nodpi-v4\ic_launcher.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable-xxhdpi-v4\common_google_signin_btn_text_light_normal_background.9.png: 127% size of source)
    Processing image: res\drawable\unity_static_splash.png
    (processed image D:\rhino\Rhino\Temp\StagingArea\android-libraries\gpgs-plugin-support-0.9.42\res\drawable-nodpi-v4\ic_launcher.png: 78% size of source)
    (processed image res\drawable-xxhdpi\app_icon.png: 98% size of source)
    (processed image res\drawable\unity_static_splash.png: 51% size of source)
    (processed image res\drawable-xxxhdpi\app_icon.png: 98% size of source)
    (new resource id app_icon from ldpi-v4\drawable\app_icon.png #generated)
    (new resource id app_icon from mdpi-v4\drawable\app_icon.png #generated)
    (new resource id app_icon from hdpi-v4\drawable\app_icon.png #generated)
    (new resource id app_icon from xhdpi-v4\drawable\app_icon.png #generated)
    (new resource id app_icon from xxhdpi-v4\drawable\app_icon.png #generated)
    (new resource id app_icon from xxxhdpi-v4\drawable\app_icon.png #generated)
    (new resource id common_full_open_on_phone from hdpi-v4\drawable\common_full_open_on_phone.png #generated)
    (new resource id common_full_open_on_phone from xhdpi-v4\drawable\common_full_open_on_phone.png #generated)
    (new resource id common_google_signin_btn_icon_dark from D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable\common_google_signin_btn_icon_dark.xml)
    (new resource id common_google_signin_btn_icon_dark_focused from D:\rhino\Rhino\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res\drawable\common_google_signin_btn_icon_dark_focused.xml)
    (new resource id common_goo<message truncated>
     
  3. FineAllDay

    FineAllDay

    Joined:
    Jun 14, 2016
    Posts:
    9
    Found the solution ! :) For a unknown reason as soon as I added an Android banner in my build settings I was able to build again!!!

    This part give me the hint.
    AndroidManifest.xml:4: error: Error: No resource found that matches the given name (at 'banner' with value '@drawable/app_banner').
     
  4. Elvizcocho

    Elvizcocho

    Joined:
    Dec 24, 2017
    Posts:
    12
    Hello Everyone! Happy and good coding New year. well, this is the 1st time I use unity in my life, I was able to build a basic game app following a lot of tutorials and investing a lot of time. After finish the app I have this kind of error. I follow most of the suggestions, like deleted the biuldtools/24.0.0, reimport the library and at the end of the line it says truncated, reading some post before is because some files are twice, but I don't know which ones (if this is the mistake). I appreciate the support :D


    CommandInvokationFailure: Failed to re-package resources.
    C:\Users\Roberto Carlos\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\Roberto Carlos\AppData\Local\Android\Sdk\platforms\android-27\android.jar" -F bin/resources.ap_ --extra-packages android.support.graphics.drawable.animated:android.support.v7.appcompat:android.support.v7.cardview:android.support.customtabs:com.facebook:com.facebook.android:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:android.support.graphics.drawable -S "C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\animated-vector-drawable-25.3.1\res" -S "C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res" -S "C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\cardview-v7-25.3.1\res" -S "C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\customtabs-25.3.1\res" -S "C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res" -S "C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\facebook-android-wrapper-7.10.0\res" -S "C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\support-compat-25.3.1\res" -S "C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\support-core-ui-25.3.1\res" -S "C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\support-core-utils-25.3.1\res" -S "C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\support-fragment-25.3.1\res" -S "C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\support-media-compat-25.3.1\res" -S "C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\support-v4-25.3.1\res" -S "C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\support-vector-drawable-25.3.1\res"

    stderr[
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_action_mode_close_item_material.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <ImageView>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_action_mode_close_item_material.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <ImageView>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_action_mode_close_item_material.xml: note: using v17 attributes; synthesizing resource com.RobotCharlyGames.ProductName:layout/abc_action_mode_close_item_material for configuration v17.
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_alert_dialog_button_bar_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:scrollIndicators from <ScrollView>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_alert_dialog_button_bar_material.xml:26: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <android.support.v7.widget.ButtonBarLayout>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_alert_dialog_button_bar_material.xml: note: using v17 attributes; synthesizing resource com.RobotCharlyGames.ProductName:layout/abc_alert_dialog_button_bar_material for configuration v17.
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_alert_dialog_title_material.xml:45: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from <android.support.v7.widget.DialogTitle>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_alert_dialog_title_material.xml:36: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <ImageView>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_alert_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.RobotCharlyGames.ProductName:layout/abc_alert_dialog_title_material for configuration v17.
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_dialog_title_material.xml:29: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from <TextView>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.RobotCharlyGames.ProductName:layout/abc_dialog_title_material for configuration v17.
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_popup_menu_header_item_layout.xml:24: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from <TextView>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_popup_menu_header_item_layout.xml: note: using v17 attributes; synthesizing resource com.RobotCharlyGames.ProductName:layout/abc_popup_menu_header_item_layout for configuration v17.
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_popup_menu_item_layout.xml:59: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <ImageView>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_popup_menu_item_layout.xml: note: using v17 attributes; synthesizing resource com.RobotCharlyGames.ProductName:layout/abc_popup_menu_item_layout for configuration v17.
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.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>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource com.RobotCharlyGames.ProductName:layout/abc_screen_toolbar for configuration v21.
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_search_view.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_search_view.xml: note: using v17 attributes; synthesizing resource com.RobotCharlyGames.ProductName:layout/abc_search_view for configuration v17.
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_select_dialog_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from <view>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_select_dialog_material.xml: note: using v17 attributes; synthesizing resource com.RobotCharlyGames.ProductName:layout/abc_select_dialog_material for configuration v17.
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:80: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <TextView>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:80: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <TextView>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_device_auth_dialog_fragment.xml: note: using v17 attributes; synthesizing resource com.RobotCharlyGames.ProductName:layout/com_facebook_device_auth_dialog_fragment for configuration v17.
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:94: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <TextView>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:94: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <TextView>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:83: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <TextView>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:83: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <TextView>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <android.support.v7.widget.AppCompatImageView>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_smart_device_dialog_fragment.xml: note: using v17 attributes; synthesizing resource com.RobotCharlyGames.ProductName:layout/com_facebook_smart_device_dialog_fragment for configuration v17.
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <LinearLayout>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action.xml:32: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <TextView>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action.xml: note: using v17 attributes; synthesizing resource com.RobotCharlyGames.ProductName:layout/notification_action for configuration v17.
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action_tombstone.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <LinearLayout>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action_tombstone.xml:37: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <TextView>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action_tombstone.xml: note: using v17 attributes; synthesizing resource com.RobotCharlyGames.ProductName:layout/notification_action_tombstone for configuration v17.
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml:42: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <include>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from <include>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from <include>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.RobotCharlyGames.ProductName:layout/notification_template_big_media for configuration v17.
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:89: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <LinearLayout>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from <LinearLayout>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:56: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <FrameLayout>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:45: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <FrameLayout>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:45: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <FrameLayout>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from <include>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml: note: using v17 attributes; synthesizing resource com.RobotCharlyGames.ProductName:layout/notification_template_big_media_custom for configuration v17.
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_narrow.xml:60: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from <ImageView>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from <LinearLayout>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    C:\Users\Roberto Carlos\Documents\Birdy game\Temp\StagingArea\androi<message truncated>
     
  5. Elvizcocho

    Elvizcocho

    Joined:
    Dec 24, 2017
    Posts:
    12
    Also i have this problem:

    UnityEditor.BuildPlayerWindow+BuildMethodException: Build failed with errors.
    at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x001b9] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:162
    at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00050] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:83
    UnityEditor.HostView:OnGUI()
     
  6. Elvizcocho

    Elvizcocho

    Joined:
    Dec 24, 2017
    Posts:
    12
    I have same error, What was the thing you reimported?
     
  7. Felicityinc

    Felicityinc

    Joined:
    Nov 24, 2016
    Posts:
    16
  8. menova

    menova

    Joined:
    Feb 5, 2018
    Posts:
    2
    I am same problem..


    CommandInvokationFailure: Failed to re-package resources.
    C:\Users\Developement\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/Developement/AppData/Local/Android/Sdk\platforms\android-25\android.jar" -F bin/resources.ap_ --extra-packages android.support.graphics.drawable.animated:android.support.v7.appcompat:ir.approo:android.support.test.espresso.idling:ir.approo.util:net.jhoobin.jhub.inapppurchase:net.jhoobin.jhub.inappsdk:com.airbnb.lottie:com.vada.mylibraryunity:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:android.support.graphics.drawable:ir.approo.unityutil -S "F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\animated-vector-drawable-25.3.1\res" -S "F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res" -S "F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\core-debug\res" -S "F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\espresso-idling-resource-2.2.2\res" -S "F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\helper-debug\res" -S "F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inapppurchase-debug\res" -S "F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res" -S "F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\lottie-2.1.2\res" -S "F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\mylibraryunity-release\res" -S "F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\support-compat-25.3.1\res" -S "F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\support-core-ui-25.3.1\res" -S "F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\support-core-utils-25.3.1\res" -S "F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\support-fragment-25.3.1\res" -S "F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\support-media-compat-25.3.1\res" -S "F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\support-v4-25.3.1\res" -S "F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\support-vector-drawable-25.3.1\res" -S "F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\uhelper-debug\res"

    stderr[
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_action_mode_close_item_material.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <ImageView>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_action_mode_close_item_material.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <ImageView>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_action_mode_close_item_material.xml: note: using v17 attributes; synthesizing resource com.vada.hafezproject:layout/abc_action_mode_close_item_material for configuration v17.
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_alert_dialog_button_bar_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:scrollIndicators from <ScrollView>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_alert_dialog_button_bar_material.xml:26: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <android.support.v7.widget.ButtonBarLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_alert_dialog_button_bar_material.xml: note: using v17 attributes; synthesizing resource com.vada.hafezproject:layout/abc_alert_dialog_button_bar_material for configuration v17.
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_alert_dialog_title_material.xml:45: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from <android.support.v7.widget.DialogTitle>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_alert_dialog_title_material.xml:36: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from <ImageView>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_alert_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.vada.hafezproject:layout/abc_alert_dialog_title_material for configuration v17.
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_dialog_title_material.xml:29: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from <TextView>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.vada.hafezproject:layout/abc_dialog_title_material for configuration v17.
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_popup_menu_header_item_layout.xml:24: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from <TextView>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_popup_menu_header_item_layout.xml: note: using v17 attributes; synthesizing resource com.vada.hafezproject:layout/abc_popup_menu_header_item_layout for configuration v17.
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_popup_menu_item_layout.xml:59: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from <ImageView>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_popup_menu_item_layout.xml: note: using v17 attributes; synthesizing resource com.vada.hafezproject:layout/abc_popup_menu_item_layout for configuration v17.
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.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>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource com.vada.hafezproject:layout/abc_screen_toolbar for configuration v21.
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_search_view.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_search_view.xml: note: using v17 attributes; synthesizing resource com.vada.hafezproject:layout/abc_search_view for configuration v17.
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_select_dialog_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from <view>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_select_dialog_material.xml: note: using v17 attributes; synthesizing resource com.vada.hafezproject:layout/abc_select_dialog_material for configuration v17.
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\core-debug\res\layout\approo_fragment_download_force.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <RelativeLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\core-debug\res\layout\approo_fragment_download_force.xml:13: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentStart from <LinearLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\core-debug\res\layout\approo_fragment_download_force.xml: note: using v17 attributes; synthesizing resource com.vada.hafezproject:layout/approo_fragment_download_force for configuration v17.
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\core-debug\res\layout\approo_fragment_payment_email.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <RelativeLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\core-debug\res\layout\approo_fragment_payment_email.xml: note: using v17 attributes; synthesizing resource com.vada.hafezproject:layout/approo_fragment_payment_email for configuration v17.
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\core-debug\res\layout\approo_fragment_payment_info.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <RelativeLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\core-debug\res\layout\approo_fragment_payment_info.xml: note: using v17 attributes; synthesizing resource com.vada.hafezproject:layout/approo_fragment_payment_info for configuration v17.
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\core-debug\res\layout\approo_fragment_payment_number.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <RelativeLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\core-debug\res\layout\approo_fragment_payment_number.xml: note: using v17 attributes; synthesizing resource com.vada.hafezproject:layout/approo_fragment_payment_number for configuration v17.
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\core-debug\res\layout\approo_fragment_payment_preview.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <RelativeLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\core-debug\res\layout\approo_fragment_payment_preview.xml: note: using v17 attributes; synthesizing resource com.vada.hafezproject:layout/approo_fragment_payment_preview for configuration v17.
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\dialogpal_alert.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\dialogpal_alert.xml:51: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\dialogpal_alert.xml:30: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\dialogpal_alert.xml:10: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\dialogpal_alert.xml: note: using v17 attributes; synthesizing resource com.vada.hafezproject:layout/dialogpal_alert for configuration v17.
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\inapp_activity.xml:3: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <RelativeLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\inapp_activity.xml:12: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\inapp_activity.xml:50: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\inapp_activity.xml:58: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <ScrollView>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\inapp_activity.xml:66: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\inapp_activity.xml:345: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\inapp_activity.xml:322: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\inapp_activity.xml:250: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\inapp_activity.xml:262: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\inapp_activity.xml:211: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\inapp_activity.xml:175: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\inapp_activity.xml:77: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\inapp_activity.xml:132: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\inapp_activity.xml:20: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from <LinearLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\inapp_activity.xml: note: using v17 attributes; synthesizing resource com.vada.hafezproject:layout/inapp_activity for configuration v17.
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\merge_simple_progress.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:indeterminateTint from <ProgressBar>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\merge_simple_progress.xml:2: note: removing attribute http://schemas.android.com/apk/res/android:indeterminateTintMode from <ProgressBar>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\inappsdk-debug\res\layout\merge_simple_progress.xml: note: using v21 attributes; synthesizing resource com.vada.hafezproject:layout/merge_simple_progress for configuration v21.
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <LinearLayout>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action.xml:32: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from <TextView>
    F:\Workspace\approo\helper-unity\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action.xml: note: using v17 attributes; synthesizing resource com.vada.hafezproject:layout/notification_action for conf<message truncated>
     

    Attached Files:

  9. menova

    menova

    Joined:
    Feb 5, 2018
    Posts:
    2
    internal build system cannot repackage my resource but gradle can!!!!
     
  10. Elvizcocho

    Elvizcocho

    Joined:
    Dec 24, 2017
    Posts:
    12

    I solve it implementing GoogleAdmob, in the installation of the unity plugin they delet old and unusable libraries and now it works perfect, try it and let me know! :D
     
  11. ust007

    ust007

    Joined:
    Jun 2, 2016
    Posts:
    1
    Was Your error solved?
     
  12. Foxxy4

    Foxxy4

    Joined:
    Jul 21, 2018
    Posts:
    2
    Hi, I can't fix this problem. I got this in console when I trying to get .apk file of my game:

    CommandInvokationFailure: Failed to re-package resources. C:\Program Files (x86)\android-sdk\build-tools\28.0.1\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:/Program Files (x86)/android-sdk\platforms\android-26\android.jar" -F bin/resources.ap_ --extra-packages com.adcolony.adcolonysdk:com.appodeal.appodeal.unity:com.appodeal.inmobi.unity:com.millennialmedia:com.alphab:com.mobvista.msdk.appwall:com.mobvista.msdk.appwallex:com.mobvista.msdk:com.mobvista.msdk.interstitial:com.mobvista.msdk.mvdownload:com.mobvista.msdk.mvjscommon:com.mobvista.msdk.mvnative:com.mobvista.msdk.nativex:com.mobvista.msdk.offerwall:com.mobvista.msdk.playercommon:com.mobvista.msdk.reward:com.mobvista.msdk.videocommon:com.mobvista.msdk.videofeeds:com.appodeal.ogury.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.location:com.google.android.gms.tasks:com.appodeal.startapp.unity:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:com.appodeal.yandexmetrica.unity -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\mmedia\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\mobvista_appwall\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\mobvista_common\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\mobvista_interstitial\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\mobvista_mvdownloads\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\mobvista_mvnative\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\mobvista_nativeex\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\mobvista_offerwall\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\mobvista_playercommon\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\mobvista_reward\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\mobvista_videocommon\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\mobvista_videofeeds\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-ads-9.8.0\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-ads-lite-9.8.0\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-base-9.8.0\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-basement-9.8.0\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-clearcut-9.8.0\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-gass-9.8.0\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-location-9.8.0\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-tasks-9.8.0\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\support-compat-25.2.0\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\support-core-ui-25.2.0\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\support-core-utils-25.2.0\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\support-fragment-25.2.0\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\support-media-compat-25.2.0\res" -S "C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\support-v4-25.2.0\res"

    stderr[ AndroidManifest.xml:110: Tag attribute authorities has invalid character '$'. ] stdout[ Configurations: (default)

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

    Resource Dirs: Including resources from package: C:\Program Files (x86)\android-sdk\platforms\android-26\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_disabled.9.png trying overlaySet Key=common_google_signin_btn_icon_dark_focused.xml 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.xml 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.xml 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.xml 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=mobvista_feeds_btn.xml trying overlaySet Key=mobvista_feeds_close.png trying overlaySet Key=mobvista_feeds_cta_atv_btn.xml trying overlaySet Key=mobvista_feeds_cta_normal.xml trying overlaySet Key=mobvista_feeds_cta_pressed.xml trying overlaySet Key=mobvista_feeds_play.png trying overlaySet Key=mobvista_feeds_play_progress.xml trying overlaySet Key=mobvista_feeds_sound_close.png trying overlaySet Key=mobvista_feeds_sound_open.png trying overlaySet Key=mobvista_video_common_full_star.png trying overlaySet Key=mobvista_video_common_full_while_star.png trying overlaySet Key=mobvista_video_common_half_star.png trying overlaySet Key=mobvista_reward_activity_ad_end_land_des_rl_hot.png trying overlaySet Key=mobvista_reward_close.png trying overlaySet Key=mobvista_reward_download.png trying overlaySet Key=mobvista_reward_end_close_shape_oval.xml trying overlaySet Key=mobvista_reward_end_land_shape.9.png trying overlaySet Key=mobvista_reward_end_pager_logo.png trying overlaySet Key=mobvista_reward_end_rotation.png trying overlaySet Key=mobvista_reward_end_shape_bg.xml trying overlaySet Key=mobvista_reward_end_shape_oval.xml trying overlaySet Key=mobvista_reward_shape_btn.xml trying overlaySet Key=mobvista_reward_shape_end_pager.xml trying overlaySet Key=mobvista_reward_shape_progress.xml trying overlaySet Key=mobvista_reward_sound_close.png trying overlaySet Key=mobvista_reward_sound_open.png trying overlaySet Key=mobvista_reward_vast_end_close.png trying overlaySet Key=mobvista_reward_vast_end_ok.png trying overlaySet Key=mobvista_cm_backward_disabled.png trying overlaySet Key=mobvista_offerwall_close.png trying overlaySet Key=mobvista_offerwall_close_bg.xml trying overlaySet Key=mobvista_offerwall_reward_dialog_bg.xml trying overlaySet Key=mobvista_offerwall_reward_sound_close.png trying overlaySet Key=mobvista_offerwall_reward_sound_open.png trying overlaySet Key=mobvista_offerwall_shape_left_btn.xml trying overlaySet Key=mobvista_offerwall_shape_progress.xml trying overlaySet Key=mobvista_offerwall_shape_right_btn.xml trying overlaySet Key=mobvista_offerwall_warn.png trying overlaySet Key=mobvista_nativex_close.png trying overlaySet Key=mobvista_nativex_cta_normal.xml trying overlaySet Key=mobvista_nativex_full_land_close.xml trying overlaySet Key=mobvista_nativex_full_protial_close.xml trying overlaySet Key=mobvista_nativex_pause.png trying overlaySet Key=mobvista_nativex_play.png trying overlaySet Key=mobvista_nativex_play_bg.xml trying overlaySet Key=mobvista_nativex_play_progress.xml trying overlaySet Key=mobvista_nativex_sound_close.png trying overlaySet Key=mobvista_nativex_sound_open.png trying overlaySet Key=mobvista_native_bg_loading_camera.xml trying overlaySet Key=mobvista_interstitial_close.png trying overlaySet Key=mobvista_interstitial_over.xml trying overlaySet Key=mobvista_cm_backward.xml trying overlaySet Key=mobvista_cm_backward_disabled.png baseFile 0 has flavor hdpi-v4 overlayFile 0 has flavor hdpi-v4 found a match (0) for overlay file mobvista_cm_backward_disabled.png, for flavor hdpi-v4 trying overlaySet Key=mobvista_cm_backward_nor.png trying overlaySet Key=mobvista_cm_backward_selected.png trying overlaySet Key=mobvista_cm_end_animation.png trying overlaySet Key=mobvista_cm_exits.xml trying overlaySet Key=mobvista_cm_exits_nor.png trying overlaySet Key=mobvista_cm_exits_selected.png trying overlaySet Key=mobvista_cm_forward.xml trying overlaySet Key=mobvista_cm_forward_disabled.png trying overlaySet Key=mobvista_cm_forward_nor.png trying overlaySet Key=mobvista_cm_forward_selected.png trying overlaySet Key=mobvista_cm_head.png trying overlaySet Key=mobvista_cm_highlight.png trying overlaySet Key=mobvista_cm_progress.png trying overlaySet Key=mobvista_cm_refresh.xml trying overlaySet Key=mobvista_cm_refresh_nor.png trying overlaySet Key=mobvista_cm_refresh_selected.png trying overlaySet Key=mobvista_cm_tail.png trying overlaySet Key=mobvista_wall_back_bg.xml trying overlaySet Key=mobvista_wall_bg_pager_title.xml trying overlaySet Key=mobvista_wall_bg_pager_title_sel.png trying overlaySet Key=mobvista_wall_bg_ratingbar.xml trying overlaySet Key=mobvista_wall_feed_bg.xml trying overlaySet Key=mobvista_wall_img_back.png trying overlaySet Key=mobvista_wall_img_download.png trying overlaySet Key=mobvista_wall_img_line_title.png trying overlaySet Key=mobvista_wall_img_logo.png trying overlaySet Key=mobvista_wall_install_download.png trying overlaySet Key=mobvista_wall_new_tip.png trying overlaySet Key=mobvista_wall_shape_bg.xml trying overlaySet Key=mobvista_wall_shape_btn.xml trying overlaySet Key=mobvista_wall_shuffle_center_bg.jpg trying overlaySet Key=mobvista_wall_shuffle_close.png trying overlaySet Key=mobvista_wall_shuffle_flush_btn.xml trying overlaySet Key=mobvista_wall_shuffle_refurbish.png trying overlaySet Key=mobvista_wall_shuffle_round_shape.xml trying overlaySet Key=mobvista_wall_shuffle_shape_btn.xml trying overlaySet Key=mobvista_wall_star_nor.png trying overlaySet Key=mobvista_wall_star_sel.png trying overlaySet Key=mobvista_wall_tab_shape.9.png trying overlaySet Key=mobvista_wall_view_download_shape_btn.xml trying overlaySet Key=mobvista_wall_view_img_back.png trying overlaySet Key=mobvista_wall_view_shape_btn.xml trying overlaySet Key=mobvista_wall_white_shadow.9.png trying overlaySet Key=mmadsdk_close.png trying overlaySet Key=mmadsdk_expand_collapse.xml trying overlaySet Key=mmadsdk_fullscreen.png trying overlaySet Key=mmadsdk_inline_video_progress_bar.xml trying overlaySet Key=mmadsdk_lightbox_down.png trying overlaySet Key=mmadsdk_lightbox_replay.png trying overlaySet Key=mmadsdk_mute_unmute.xml trying overlaySet Key=mmadsdk_no_sound.png trying overlaySet Key=mmadsdk_pause.png trying overlaySet Key=mmadsdk_play.png trying overlaySet Key=mmadsdk_play_pause.xml trying overlaySet Key=mmadsdk_sound.png trying overlaySet Key=mmadsdk_unfullscreen.png trying overlaySet Key=mmadsdk_vast_close.png trying overlaySet Key=mmadsdk_vast_opacity.png trying overlaySet Key=mmadsdk_vast_replay.png trying overlaySet Key=mmadsdk_vast_skip.png trying overlaySet Key=app_banner.png applyFileOverlay for layout trying overlaySet Key=mobvista_feeds_activity.xml trying overlaySet Key=mobvista_feeds_ad_view.xml trying overlaySet Key=mobvista_feeds_player_view.xml trying overlaySet Key=mobvista_reward_activity_ad_end_hor.xml trying overlaySet Key=mobvista_reward_activity_ad_end_land.xml trying overlaySet Key=mobvista_reward_activity_ad_vast_end.xml trying overlaySet Key=mobvista_reward_activity_mvrewardvideo.xml trying overlaySet Key=mobvista_playercommon_player_view.xml trying overlaySet Key=mobvista_offerwall_activity.xml trying overlaySet Key=mobvista_offerwall_reward_activity.xml trying overlaySet Key=mobvista_offerwall_reward_exit_dialog.xml trying overlaySet Key=mobvista_nativex_fullscreen.xml trying overlaySet Key=mobvista_nativex_mvmediaview.xml trying overlaySet Key=mobvista_nativex_playerview.xml trying overlaySet Key=mobvista_interstitial_activity.xml trying overlaySet Key=mobvista_wall.xml trying overlaySet Key=mobvista_wall_click_loading.xml trying overlaySet Key=mobvista_wall_fb_mediaview.xml trying overlaySet Key=mobvista_wall_fragment_tablist.xml trying overlaySet Key=mobvista_wall_layout_handler_entry.xml trying overlaySet Key=mobvista_wall_loading.xml trying overlaySet Key=mobvista_wall_ratingbar_wall.xml trying overlaySet Key=mobvista_wall_retry.xml trying overlaySet Key=mobvista_wall_shuffle_fm_main.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 applyFileOverlay for menu applyFileOverlay for font applyFileOverlay for mipmap trying overlaySet Key=app_icon.png trying overlaySet Key=app_icon.xml trying overlaySet Key=app_icon_round.png trying overlaySet Key=app_icon_round.xml trying overlaySet Key=ic_launcher_background.png trying overlaySet Key=ic_launcher_foreground.png Processing image: res\drawable-xhdpi\app_banner.png Processing image: C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-base-9.8.0\res\drawable-hdpi-v4\common_full_open_on_phone.png Processing image: C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-base-9.8.0\res\drawable-xhdpi-v4\common_full_open_on_phone.png (processed image C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-base-9.8.0\res\drawable-xhdpi-v4\common_full_open_on_phone.png: 105% size of source) (processed image C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-base-9.8.0\res\drawable-hdpi-v4\common_full_open_on_phone.png: 120% size of source) Processing image: C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-base-9.8.0\res\drawable-mdpi-v4\common_google_signin_btn_icon_dark_disabled.9.png Processing image: C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-base-9.8.0\res\drawable-hdpi-v4\common_google_signin_btn_icon_dark_disabled.9.png (processed image C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-base-9.8.0\res\drawable-mdpi-v4\common_google_signin_btn_icon_dark_disabled.9.png: 270% size of source) Processing image: C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-base-9.8.0\res\drawable-xhdpi-v4\common_google_signin_btn_icon_dark_disabled.9.png (processed image C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-base-9.8.0\res\drawable-hdpi-v4\common_google_signin_btn_icon_dark_disabled.9.png: 268% size of source) Processing image: C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-base-9.8.0\res\drawable-xxhdpi-v4\common_google_signin_btn_icon_dark_disabled.9.png (processed image C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-base-9.8.0\res\drawable-xhdpi-v4\common_google_signin_btn_icon_dark_disabled.9.png: 261% size of source) Processing image: C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-base-9.8.0\res\drawable-mdpi-v4\common_google_signin_btn_icon_dark_normal.9.png (processed image C:\Users\User\Documents\Prototype1\Temp\StagingArea\android-libraries\play-services-base-9.8.0\res\drawable-mdpi-v4\common_google_signin_btn_icon_dark_normal.9.png: 155% size of

    Is anybody know how to fix this?
     
  13. Foxxy4

    Foxxy4

    Joined:
    Jul 21, 2018
    Posts:
    2
    I fixed it! It was a problem with AndroidManifest.xml for me
     
  14. uniLogix

    uniLogix

    Joined:
    May 24, 2015
    Posts:
    11
    I fixed it by selecting Gradle New in Build setting
     
  15. thienrem

    thienrem

    Joined:
    Sep 10, 2018
    Posts:
    1
    CommandInvokationFailure: Gradle build failed.
    C:/Program Files/Java/jdk1.8.0_181\bin\java.exe -classpath "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.2.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx2048m" "assembleRelease"

    stderr[

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':transformDexWithDexForRelease'.
    > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/ads/internal/ClientApi;

    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    * Get more help at https://help.gradle.org

    BUILD FAILED in 1m 12s
    ]
    stdout[
    Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details
    :preBuild UP-TO-DATE
    :GoogleMobileAdsPlugin:preBuild UP-TO-DATE
    :GoogleMobileAdsPlugin:preReleaseBuild UP-TO-DATE
    :GoogleMobileAdsPlugin:checkReleaseManifest
    :GoogleMobileAdsPlugin:processReleaseManifest
    :preReleaseBuild
    :GoogleMobileAdsPlugin:compileReleaseAidl
    :compileReleaseAidl
    :GoogleMobileAdsPlugin:packageReleaseRenderscript NO-SOURCE
    :compileReleaseRenderscript
    :checkReleaseManifest
    :generateReleaseBuildConfig
    :prepareLintJar
    :generateReleaseResValues
    :generateReleaseResources
    :GoogleMobileAdsPlugin:compileReleaseRenderscript
    :GoogleMobileAdsPlugin:generateReleaseResValues
    :GoogleMobileAdsPlugin:generateReleaseResources
    :GoogleMobileAdsPlugin:packageReleaseResources
    :mergeReleaseResources
    :createReleaseCompatibleScreenManifests
    :processReleaseManifest
    :splitsDiscoveryTaskRelease
    :GoogleMobileAdsPlugin:platformAttrExtractor
    :GoogleMobileAdsPlugin:generateReleaseBuildConfig
    :GoogleMobileAdsPlugin:prepareLintJar
    :GoogleMobileAdsPlugin:javaPreCompileRelease
    :GoogleMobileAdsPlugin:processReleaseResources
    :processReleaseResources
    :generateReleaseSources
    :GoogleMobileAdsPlugin:generateReleaseSources
    :GoogleMobileAdsPlugin:compileReleaseJavaWithJavac
    :GoogleMobileAdsPlugin:processReleaseJavaRes NO-SOURCE
    :GoogleMobileAdsPlugin:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease
    :javaPreCompileRelease
    :compileReleaseJavaWithJavac
    :compileReleaseNdk NO-SOURCE
    :compileReleaseSources
    :lintVitalRelease
    :mergeRele
     
  16. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,255
    From the error it looks like you have duplicate copies of the play services as library.

    Try to see if you can find more than one of those in your project.