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 iluqmansharif · Apr 25, 2017 at 02:40 PM · unity 5android buildgoogle playerror build

CommandInvokationFailure: Failed to re-package resources.

I am having this error while building for android unity. Unity version: 5.5.1 Android Build-tools: 25.0.2

Any help?

CommandInvokationFailure: Failed to re-package resources. C:\AndroidSDK\build-tools\25.0.2\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:/AndroidSDK\platforms\android-25\android.jar" -F bin/resources.ap_ --extra-packages com.unity.purchasing:com.android.vending.billing:com.unity.purchasing.googleplay:com.google.android.gms.ads.impl:com.google.android.gms.ads:com.google.android.gms.auth.api:com.google.android.gms.auth:com.google.android.gms.base:com.google.android.gms:com.google.android.gms:com.google.android.gms.clearcut:com.google.android.gms.drive:com.google.android.gms.games:com.google.android.gms.gass:com.google.android.gms.nearby:com.google.android.gms.tasks:android.support.v4:com.unity3d.ads -S "C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\common\res" -S "C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\GoogleAIDL\res" -S "C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\GooglePlay\res" -S "C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-ads-10.2.1\res" -S "C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-ads-lite-10.2.1\res" -S "C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-auth-10.2.1\res" -S "C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-auth-base-10.2.1\res" -S "C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res" -S "C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-basement-10.2.1\res" -S "C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-basement-9.0.0\res" -S "C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-clearcut-10.2.1\res" -S "C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-drive-10.2.1\res" -S "C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-games-10.2.1\res" -S "C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-gass-10.2.1\res" -S "C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-nearby-10.2.1\res" -S "C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-tasks-10.2.1\res" -S "C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\support-v4-24.0.0\res" -S "C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\unity-ads\res"

stderr[ C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\values\values.xml:33: error: Attribute "imageAspectRatioAdjust" already defined with incompatible format. C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-basement-9.0.0\res\values\values.xml:3: Original attribute defined here. ] stdout[ Configurations: (default)

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

Resource Dirs: Including resources from package: C:\AndroidSDK\platforms\android-25\android.jar applyFileOverlay for drawable trying overlaySet Key=common_full_open_on_phone.png trying overlaySet Key=common_google_signin_btn_icon_dark.xml trying overlaySet Key=common_google_signin_btn_icon_dark_focused.xml trying overlaySet Key=common_google_signin_btn_icon_dark_normal.xml trying overlaySet Key=common_google_signin_btn_icon_dark_normal_background.9.png trying overlaySet Key=common_google_signin_btn_icon_disabled.xml trying overlaySet Key=common_google_signin_btn_icon_light.xml trying overlaySet Key=common_google_signin_btn_icon_light_focused.xml trying overlaySet Key=common_google_signin_btn_icon_light_normal.xml trying overlaySet Key=common_google_signin_btn_icon_light_normal_background.9.png trying overlaySet Key=common_google_signin_btn_text_dark.xml trying overlaySet Key=common_google_signin_btn_text_dark_focused.xml trying overlaySet Key=common_google_signin_btn_text_dark_normal.xml trying overlaySet Key=common_google_signin_btn_text_dark_normal_background.9.png trying overlaySet Key=common_google_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=app_banner.png trying overlaySet Key=app_icon.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 mipmap Processing image: res\drawable-xhdpi\app_banner.png Processing image: res\drawable-mdpi\app_icon.png Processing image: C:\UserPsr\otchees_sli\nDg oicmaugmeen:t s\UnCi:t\yU sPerrso\jtehcet_sl\\SDcorceuamme nRtus\nU\nTietmyp \PSrtoajgeicntgsA\rSecar\eaamn dRruoni\d-lTiebmrpa\rSiteasg\ipnlgaAyr-eas\earnvdircoeisd--blaisber-a1r0i.e2s.\1p\lareys-\sderravwiacbesl-bea-shed-p1i0-.v2.41\\croemsm\ond_rfuallw_aobpleen-_xohnd_ppih-ovn4e.cponmgm on_full_open_on_phone.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-hdpi-v4\common_full_open_on_phone.png: 120% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-mdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xhdpi-v4\common_full_open_on_phone.png: 105% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-hdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-mdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png: 164% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xhdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-hdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png: 151% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xxhdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xhdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png: 138% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-mdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-mdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png: 169% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-hdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png (processed image res\drawable-mdpi\app_icon.png: 90% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xhdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-hdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png: 146% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xxhdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xxhdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png: 136% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-mdpi-v4\common_google_signin_btn_text_dark_normal_background.9.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xhdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png: 135% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-hdpi-v4\common_google_signin_btn_text_dark_normal_background.9.png (processed image res\drawable-xhdpi\app_banner.png: 93% size of source) (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-mdpi-v4\common_google_signin_btn_text_dark_normal_background.9.png: 152% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xhdpi-v4\common_google_signin_btn_text_dark_normal_background.9.png Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xxhdpi-v4\common_google_signin_btn_text_dark_normal_background.9.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-hdpi-v4\common_google_signin_btn_text_dark_normal_background.9.png: 129% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-mdpi-v4\common_google_signin_btn_text_light_normal_background.9.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xxhdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png: 134% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-hdpi-v4\common_google_signin_btn_text_light_normal_background.9.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xhdpi-v4\common_google_signin_btn_text_dark_normal_background.9.png: 130% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xhdpi-v4\common_google_signin_btn_text_light_normal_background.9.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-mdpi-v4\common_google_signin_btn_text_light_normal_background.9.png: 156% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xxhdpi-v4\common_google_signin_btn_text_light_normal_background.9.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-hdpi-v4\common_google_signin_btn_text_light_normal_background.9.png: 127% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-mdpi-v4\googleg_disabled_color_18.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-mdpi-v4\googleg_disabled_color_18.png: 164% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-hdpi-v4\googleg_disabled_color_18.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-hdpi-v4\googleg_disabled_color_18.png: 153% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xhdpi-v4\googleg_disabled_color_18.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xhdpi-v4\googleg_disabled_color_18.png: 153% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xxhdpi-v4\googleg_disabled_color_18.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xxhdpi-v4\googleg_disabled_color_18.png: 146% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-mdpi-v4\googleg_standard_color_18.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-mdpi-v4\googleg_standard_color_18.png: 123% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-hdpi-v4\googleg_standard_color_18.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-hdpi-v4\googleg_standard_color_18.png: 122% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xhdpi-v4\googleg_standard_color_18.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xhdpi-v4\common_google_signin_btn_text_light_normal_background.9.png: 128% size of source) Processing image: C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xxhdpi-v4\googleg_standard_color_18.png (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xhdpi-v4\googleg_standard_color_18.png: 125% size of source) (processed image C:\Users\the_l\Documents\Unity Projects\Scream Run\Temp\StagingArea\android-libraries\play-services-base-10.2.1\res\drawable-xxhdpi-v4\common_google_signin_btn_text_dark_normal_background.9.png: 132% size of sour

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Unity 5.6.0f1 Does not support Nougat 7+ ? Google Console lists Nougat 7+ as unsupported on my apks. 0 Answers

Google Play showing This app is incompatible with all of your devices 1 Answer

Androidmanifest.xml problem 0 Answers

Can't get .aab build because of Gradle error 0 Answers

unity android internal only 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