Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
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
Add comment
10 |3000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

285 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges