- Home /
 
               Question by 
               UDN_60115ee5-2147-4fcc-8ff0-dd54695f410f · Dec 30, 2019 at 10:03 AM · 
                androiderrorexportandroid-manifestaapt  
              
 
              Android export error -> CommandInvokationFailure: Failed to re-package resources.
Hello, I am getting this error when trying to compile for Android (with minimum API level set to 22). Any idea of what could it be and/or how to fix it?
 CommandInvokationFailure: Failed to re-package resources.
 Z:\AppData\Local\Android\sdk\build-tools\24.0.2\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "Z:/AppData/Local/Android/sdk\platforms\android-25\android.jar" -F bin/resources.ap_ --extra-packages androidx.asynclayoutinflater:android.support.asynclayoutinflater:com.unity.purchasing:androidx.coordinatorlayout:android.support.coordinatorlayout:androidx.core:androidx.arch.core:androidx.cursoradapter:android.support.cursoradapter:android.support.customtabs:androidx.customview:android.support.customview:androidx.documentfile:android.support.documentfile:androidx.drawerlayout:android.support.drawerlayout:androidx.fragment:com.android.vending.billing:com.unity.purchasing.googleplay:androidx.interpolator:android.support.interpolator:androidx.legacy.coreui:androidx.legacy.coreutils:androidx.lifecycle.livedata:androidx.lifecycle.livedata.core:androidx.lifecycle:androidx.lifecycle.viewmodel:android.arch.lifecycle.livedata:android.arch.lifecycle.livedata.core:androidx.loader:android.support.loader:androidx.localbroadcastmanager:android.support.localbroadcastmanager:com.onesignal:com.onesignal.onesignalsdk:com.google.android.gms.base:com.google.android.gms.common:com.google.android.gms.gcm:com.google.android.gms.iid:com.google.android.gms.location:com.google.android.gms.places_placereport:com.google.android.gms.stats:com.google.android.gms.tasks:androidx.print:android.support.print:android.arch.core:androidx.slidingpanelayout:android.support.slidingpanelayout:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:androidx.swiperefreshlayout:android.support.swiperefreshlayout:com.unity3d.ads:androidx.versionedparcelable:androidx.versionedparcelable:android.arch.lifecycle.viewmodel:androidx.viewpager:android.support.v7.viewpager -S "Z:\git\b05repo\Temp\StagingArea\android-libraries\common\res" -S "Z:\git\b05repo\Temp\StagingArea\android-libraries\coordinatorlayout-1.0.0\res" -S "Z:\git\b05repo\Temp\StagingArea\android-libraries\coordinatorlayout-28.0.0\res" -S "Z:\git\b05repo\Temp\StagingArea\android-libraries\core-1.0.0\res" -S "Z:\git\b05repo\Temp\StagingArea\android-libraries\customtabs-28.0.0\res" -S "Z:\git\b05repo\Temp\StagingArea\android-libraries\GoogleAIDL\res" -S "Z:\git\b05repo\Temp\StagingArea\android-libraries\GooglePlay\res" -S "Z:\git\b05repo\Temp\StagingArea\android-libraries\livedata-1.1.1\res" -S "Z:\git\b05repo\Temp\StagingArea\android-libraries\livedata-core-1.1.1\res" -S "Z:\git\b05repo\Temp\StagingArea\android-libraries\onesignal-unity\res" -S "Z:\git\b05repo\Temp\StagingArea\android-libraries\OneSignalConfig\res" -S "Z:\git\b05repo\Temp\StagingArea\android-libraries\play-services-base-17.0.0\res" -S "Z:\git\b05repo\Temp\StagingArea\android-libraries\play-services-basement-17.0.0\res" -S "Z:\git\b05repo\Temp\StagingArea\android-libraries\play-services-gcm-17.0.0\res" -S "Z:\git\b05repo\Temp\StagingArea\android-libraries\runtime-1.1.1\res" -S "Z:\git\b05repo\Temp\StagingArea\android-libraries\support-compat-28.0.0\res" -S "Z:\git\b05repo\Temp\StagingArea\android-libraries\support-media-compat-28.0.0\res" -S "Z:\git\b05repo\Temp\StagingArea\android-libraries\UnityAds\res" -S "Z:\git\b05repo\Temp\StagingArea\android-libraries\viewmodel-1.1.1\res"
 
 stderr[
 Z:\git\b05repo\Temp\StagingArea\android-libraries\core-1.0.0\res\values\values.xml:36: error: Attribute "fontProviderFetchStrategy" already defined with incompatible format.
 Z:\git\b05repo\Temp\StagingArea\android-libraries\support-compat-28.0.0\res\values\values.xml:42: Original attribute defined here.
 Z:\git\b05repo\Temp\StagingArea\android-libraries\core-1.0.0\res\values\values.xml:51: error: Attribute "fontProviderFetchTimeout" already defined with incompatible format.
 Z:\git\b05repo\Temp\StagingArea\android-libraries\support-compat-28.0.0\res\values\values.xml:54: Original attribute defined here.
 Z:\git\b05repo\Temp\StagingArea\android-libraries\core-1.0.0\res\values\values.xml:61: error: Attribute "fontStyle" already defined with incompatible format.
 Z:\git\b05repo\Temp\StagingArea\android-libraries\support-compat-28.0.0\res\values\values.xml:62: Original attribute defined here.
 Z:\git\b05repo\Temp\StagingArea\android-libraries\coordinatorlayout-1.0.0\res\values\values.xml:28: error: Attribute "layout_anchorGravity" already defined with incompatible format.
 Z:\git\b05repo\Temp\StagingArea\android-libraries\coordinatorlayout-28.0.0\res\values\values.xml:30: Original attribute defined here.
 Z:\git\b05repo\Temp\StagingArea\android-libraries\coordinatorlayout-1.0.0\res\values\values.xml:67: error: Attribute "layout_insetEdge" already defined with incompatible format.
 Z:\git\b05repo\Temp\StagingArea\android-libraries\coordinatorlayout-28.0.0\res\values\values.xml:67: Original attribute defined here.
 Z:\git\b05repo\Temp\StagingArea\android-libraries\coordinatorlayout-1.0.0\res\values\values.xml:84: error: Attribute "layout_dodgeInsetEdges" already defined with incompatible format.
 Z:\git\b05repo\Temp\StagingArea\android-libraries\coordinatorlayout-28.0.0\res\values\values.xml:86: Original attribute defined here.
 ]
 stdout[
 Configurations:
  (default)
 
 Files:
   AndroidManifest.xml
     Src: () AndroidManifest.xml
 
 Resource Dirs:
 Including resources from package: Z:\AppData\Local\Android\sdk\platforms\android-25\android.jar
 applyFileOverlay for drawable
 trying overlaySet Key=notification_action_background.xml
 trying overlaySet Key=notification_bg.xml
 trying overlaySet Key=notification_bg_low.xml
 trying overlaySet Key=notification_bg_low_normal.9.png
 trying overlaySet Key=notification_bg_low_pressed.9.png
 trying overlaySet Key=notification_bg_normal.9.png
 trying overlaySet Key=notification_bg_normal_pressed.9.png
 trying overlaySet Key=notification_icon_background.xml
 trying overlaySet Key=notification_tile_bg.xml
 trying overlaySet Key=notify_panel_notification_icon_bg.png
 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_onesignal_large_icon_default.png
 trying overlaySet Key=ic_stat_onesignal_default.png
 trying overlaySet Key=ic_os_notification_fallback_white_24dp.png
 trying overlaySet Key=notification_action_background.xml
 baseFile 0 has flavor v21
 overlayFile 0 has flavor v21
 found a match (0) for overlay file notification_action_background.xml, for flavor v21
 trying overlaySet Key=notification_bg.xml
 baseFile 0 has flavor 
 overlayFile 0 has flavor 
 found a match (0) for overlay file notification_bg.xml, for flavor 
 trying overlaySet Key=notification_bg_low.xml
 baseFile 0 has flavor 
 overlayFile 0 has flavor 
 found a match (0) for overlay file notification_bg_low.xml, for flavor 
 trying overlaySet Key=notification_bg_low_normal.9.png
 baseFile 0 has flavor mdpi-v4
 baseFile 1 has flavor hdpi-v4
 baseFile 2 has flavor xhdpi-v4
 overlayFile 0 has flavor mdpi-v4
 overlayFile 1 has flavor hdpi-v4
 overlayFile 2 has flavor xhdpi-v4
 found a match (0) for overlay file notification_bg_low_normal.9.png, for flavor mdpi-v4
 found a match (1) for overlay file notification_bg_low_normal.9.png, for flavor hdpi-v4
 found a match (2) for overlay file notification_bg_low_normal.9.png, for flavor xhdpi-v4
 trying overlaySet Key=notification_bg_low_pressed.9.png
 baseFile 0 has flavor mdpi-v4
 baseFile 1 has flavor hdpi-v4
 baseFile 2 has flavor xhdpi-v4
 overlayFile 0 has flavor mdpi-v4
 overlayFile 1 has flavor hdpi-v4
 overlayFile 2 has flavor xhdpi-v4
 found a match (0) for overlay file notification_bg_low_pressed.9.png, for flavor mdpi-v4
 found a match (1) for overlay file notification_bg_low_pressed.9.png, for flavor hdpi-v4
 found a match (2) for overlay file notification_bg_low_pressed.9.png, for flavor xhdpi-v4
 trying overlaySet Key=notification_bg_normal.9.png
 baseFile 0 has flavor mdpi-v4
 baseFile 1 has flavor hdpi-v4
 baseFile 2 has flavor xhdpi-v4
 overlayFile 0 has flavor mdpi-v4
 overlayFile 1 has flavor hdpi-v4
 overlayFile 2 has flavor xhdpi-v4
 found a match (0) for overlay file notification_bg_normal.9.png, for flavor mdpi-v4
 found a match (1) for overlay file notification_bg_normal.9.png, for flavor hdpi-v4
 found a match (2) for overlay file notification_bg_normal.9.png, for flavor xhdpi-v4
 trying overlaySet Key=notification_bg_normal_pressed.9.png
 baseFile 0 has flavor mdpi-v4
 baseFile 1 has flavor hdpi-v4
 baseFile 2 has flavor xhdpi-v4
 overlayFile 0 has flavor mdpi-v4
 overlayFile 1 has flavor hdpi-v4
 overlayFile 2 has flavor xhdpi-v4
 found a match (0) for overlay file notification_bg_normal_pressed.9.png, for flavor mdpi-v4
 found a match (1) for overlay file notification_bg_normal_pressed.9.png, for flavor hdpi-v4
 found a match (2) for overlay file notification_bg_normal_pressed.9.png, for flavor xhdpi-v4
 trying overlaySet Key=notification_icon_background.xml
 baseFile 0 has flavor 
 overlayFile 0 has flavor 
 found a match (0) for overlay file notification_icon_background.xml, for flavor 
 trying overlaySet Key=notification_tile_bg.xml
 baseFile 0 has flavor 
 overlayFile 0 has flavor 
 found a match (0) for overlay file notification_tile_bg.xml, for flavor 
 trying overlaySet Key=notify_panel_notification_icon_bg.png
 baseFile 0 has flavor mdpi-v4
 baseFile 1 has flavor hdpi-v4
 baseFile 2 has flavor xhdpi-v4
 overlayFile 0 has flavor mdpi-v4
 overlayFile 1 has flavor hdpi-v4
 overlayFile 2 has flavor xhdpi-v4
 found a match (0) for overlay file notify_panel_notification_icon_bg.png, for flavor mdpi-v4
 found a match (1) for overlay file notify_panel_notification_icon_bg.png, for flavor hdpi-v4
 found a match (2) for overlay file notify_panel_notification_icon_bg.png, for flavor xhdpi-v4
 trying overlaySet Key=app_banner.png
 trying overlaySet Key=app_icon.png
 applyFileOverlay for layout
 trying overlaySet Key=notification_media_action.xml
 trying overlaySet Key=notification_media_cancel_action.xml
 trying overlaySet Key=notification_template_big_media.xml
 trying overlaySet Key=notification_template_big_media_custom.xml
 trying overlaySet Key=notification_template_big_media_narrow.xml
 trying overlaySet Key=notification_template_big_media_narrow_custom.xml
 trying overlaySet Key=notification_template_lines_media.xml
 trying overlaySet Key=notification_template_media.xml
 trying overlaySet Key=notification_template_media_custom.xml
 trying overlaySet Key=notification_action.xml
 trying overlaySet Key=notification_action_tombstone.xml
 trying overlaySet Key=notification_template_custom_big.xml
 trying overlaySet Key=notification_template_icon_group.xml
 trying overlaySet Key=notification_template_part_chronometer.xml
 trying overlaySet Key=notification_template_part_time.xml
 trying overlaySet Key=onesignal_bgimage_notif_layout.xml
 trying overlaySet Key=browser_actions_context_menu_page.xml
 trying overlaySet Key=browser_actions_context_menu_row.xml
 trying overlaySet Key=notification_action.xml
 baseFile 0 has flavor 
 baseFile 1 has flavor v21
 overlayFile 0 has flavor 
 overlayFile 1 has flavor v21
 found a match (0) for overlay file notification_action.xml, for flavor 
 found a match (1) for overlay file notification_action.xml, for flavor v21
 trying overlaySet Key=notification_action_tombstone.xml
 baseFile 0 has flavor 
 baseFile 1 has flavor v21
 overlayFile 0 has flavor 
 overlayFile 1 has flavor v21
 found a match (0) for overlay file notification_action_tombstone.xml, for flavor 
 found a match (1) for overlay file notification_action_tombstone.xml, for flavor v21
 trying overlaySet Key=notification_template_custom_big.xml
 baseFile 0 has flavor 
 baseFile 1 has flavor v16
 baseFile 2 has flavor v21
 overlayFile 0 has flavor 
 overlayFile 1 has flavor v16
 overlayFile 2 has flavor v21
 found a match (0) for overlay file notification_template_custom_big.xml, for flavor 
 found a match (1) for overlay file notification_template_custom_big.xml, for flavor v16
 found a match (2) for overlay file notification_template_custom_big.xml, for flavor v21
 trying overlaySet Key=notification_template_icon_group.xml
 baseFile 0 has flavor 
 baseFile 1 has flavor v21
 overlayFile 0 has flavor 
 overlayFile 1 has flavor v21
 found a match (0) for overlay file notification_template_icon_group.xml, for flavor 
 found a match (1) for overlay file notification_template_icon_group.xml, for flavor v21
 trying overlaySet Key=notification_template_part_chronometer.xml
 baseFile 0 has flavor 
 overlayFile 0 has flavor 
 found a match (0) for overlay file notification_template_part_chronometer.xml, for flavor 
 trying overlaySet Key=notification_template_part_time.xml
 baseFile 0 has flavor 
 overlayFile 0 has flavor 
 found a match (0) for overlay file notification_template_part_time.xml, for flavor 
 applyFileOverlay for anim
 applyFileOverlay for animator
 applyFileOverlay for interpolator
 applyFileOverlay for transition
 applyFileOverlay for xml
 applyFileOverlay for raw
 trying overlaySet Key=notification.wav
 trying overlaySet Key=consumer_onesignal_keep.xml
 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 mipmap
 Processing image: res\drawable-xhdpi\app_banner.png
 Processing image: res\drawable\app_icon.png
 Processing image: Z:\git\b05repo\Temp\StagingArea\android-libraries\play-services-base-17.0.0\res\drawable-hdpi-v4\common_full_open_on_phone.png
 Processing image: Z:\git\b05repo\Temp\StagingArea\android-libraries\play-services-base-17.0.0\res\drawable-xhdpi-v4\common_full_open_on_phone.png
     (processed image Z:\git\b05repo\Temp\StagingArea\android-libraries\play-services-base-17.0.0\res\drawable-hdpi-v4\common_full_open_on_phone.png: 120% size of source)
 Processing image: Z:\git\b05repo\Temp\StagingArea\android-libraries\play-services-base-17.0.0\res\drawable-mdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png
     (processed image Z:\git\b05repo\Temp\StagingArea\android-libraries\play-services-base-17.0.0\res\drawable-xhdpi-v4\common_full_open_on_phone.png: 105% size of source)
 Processing image: Z:\git\b05repo\Temp\StagingArea\android-libraries\play-services-base-17.0.0\res\drawable-hdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png
     (processed image Z:\git\b05repo\Temp\StagingArea\android-libraries\play-services-base-17.0.0\res\drawable-mdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png: 157% size of source)
 Processing image: Z:\git\L<message truncated>
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
Error Building Player: 'aapt.exe' Win32Exception 3 Answers
CommandInvokationFailure: Failed to re-package resources. Please Help. 2 Answers
i can't export 0 Answers
Help with error message when uploading to Android Market? 0 Answers
New Export Error Android 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                