• 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
12
Question by Manco Capac · Feb 02, 2018 at 11:53 AM · androiderrorbuildapk

Failed to re-package resources.

I have been working on my game for a month. And this problem just occured. I did google this. But i cant solve it. This does not occur when i try to build an empty scene in another project, but only in my current project. I need help.

This is the error in the console. (i dont get much of it):

 Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
 C:\adt-bundle-windows-x86_64-20140702\sdk\build-tools\android-4.4W\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/adt-bundle-windows-x86_64-20140702/sdk/platforms/android-20\android.jar" -F bin/resources.ap_
 
 stderr[
 AndroidManifest.xml:9: error: Error: No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version').
 ]
 stdout[
 Configurations:
  (default)
  hdpi
  ldpi
  xhdpi
  xxhdpi
 
 Files:
   drawable\app_icon.png
     Src: () res\drawable\app_icon.png
     Src: (hdpi) res\drawable-hdpi\app_icon.png
     Src: (ldpi) res\drawable-ldpi\app_icon.png
     Src: (xhdpi) res\drawable-xhdpi\app_icon.png
     Src: (xxhdpi) res\drawable-xxhdpi\app_icon.png
   values\strings.xml
     Src: () res\values\strings.xml
   AndroidManifest.xml
     Src: () AndroidManifest.xml
 
 Resource Dirs:
   Type drawable
     drawable\app_icon.png
       Src: () res\drawable\app_icon.png
       Src: (hdpi) res\drawable-hdpi\app_icon.png
       Src: (ldpi) res\drawable-ldpi\app_icon.png
       Src: (xhdpi) res\drawable-xhdpi\app_icon.png
       Src: (xxhdpi) res\drawable-xxhdpi\app_icon.png
   Type values
     values\strings.xml
       Src: () res\values\strings.xml
 Including resources from package: C:\adt-bundle-windows-x86_64-20140702\sdk\platforms\android-20\android.jar
 applyFileOverlay for drawable
 applyFileOverlay for layout
 applyFileOverlay for anim
 applyFileOverlay for animator
 applyFileOverlay for interpolator
 applyFileOverlay for transition
 applyFileOverlay for xml
 applyFileOverlay for raw
 applyFileOverlay for color
 applyFileOverlay for menu
 applyFileOverlay for mipmap
 Processing image: res\drawable\app_icon.png
 Processing image: res\drawable-hdpi\app_icon.png
 Processing image: res\drawable-ldpi\app_icon.png
 Processing image: res\drawable-xhdpi\app_icon.png
     (processed image res\drawable-ldpi\app_icon.png: 114% size of source)
 Processing image: res\drawable-xxhdpi\app_icon.png
     (processed image res\drawable\app_icon.png: 104% size of source)
     (processed image res\drawable-hdpi\app_icon.png: 96% size of source)
     (processed image res\drawable-xhdpi\app_icon.png: 94% size of source)
     (processed image res\drawable-xxhdpi\app_icon.png: 97% size of source)
     (new resource id app_icon from drawable\app_icon.png #generated)
     (new resource id app_icon from hdpi\drawable\app_icon.png #generated)
     (new resource id app_icon from ldpi\drawable\app_icon.png #generated)
     (new resource id app_icon from xhdpi\drawable\app_icon.png #generated)
     (new resource id app_icon from xxhdpi\drawable\app_icon.png #generated)
 ]
 
Comment
Add comment · Show 10
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
avatar image liortal · Jul 31, 2014 at 05:44 PM 1
Share

Do you have a custom Android$$anonymous$$anifest.xml in your project ?

avatar image Manco Capac · Jul 31, 2014 at 06:14 PM 0
Share

nope. nothing like that. i didnt touch anything to do with SD$$anonymous$$s.

avatar image liortal · Jul 31, 2014 at 06:36 PM 3
Share

Can you please list your Assets/Plugins/Android folder if there's anything there?

avatar image Manco Capac · Jul 31, 2014 at 07:02 PM 2
Share

there was Android$$anonymous$$anifest.xml and a unity-plugin-library.jar file. i just deleted the xml file. and it worked. i never made that idk how it got there. thanks :)

and sorry. im very new to android development

avatar image gulfam131 · Oct 13, 2014 at 03:03 PM 1
Share

Thanks a lot, it works, just by deleting . :)

Show more comments

16 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by WikiMalik · Dec 20, 2015 at 11:19 AM

If you are getting that error as a result of Facebook Unity SDK integration This guy has a simple and easy solution

Comment
Add comment · Show 1 · Share
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
avatar image RMihai · Feb 08, 2016 at 05:29 PM 0
Share

You can't be serious :))) This worked

avatar image
1

Answer by jabonz2048 · Mar 16, 2017 at 08:36 PM

I was having this issue because Unity needs Java JDK 8, and I had JDK 7 installed. Installing JDK 8 and pointing Unity to it solved the issue.

Comment
Add comment · Share
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
avatar image
1

Answer by bob539 · Sep 21, 2019 at 08:27 PM

Cause of Problem: When using Unity's internal build system, minSdkVersion setting in all AndroidManifest.xml files must not be below the minSdkVersion allowed by Unity's internal build system (this includes AndroidManifest.xml files inside libraries and archives e.g .jar and .aar archives). Otherwise this problem occurs. The inconsistent minSdkVersion specifications usually are in AndroidManifest.xml files that come with external plugins. Note: To see the minSdkVersion allowed by Unity's internal build system see the "Player Settings" in the Unity Editor.

Solution to Problem: Remove all tags from all AndroidManifest.xml found in any used plugin, including those inside jar and aar files (requires unpacking jar and aar files and, optionally, repacking them after modifying their AndroidManifest.xml files; note that unpacked library folders can also be imported into Unity plugin folders).

,

Comment
Add comment · Share
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
avatar image
0

Answer by darynduff · Jul 28, 2016 at 01:28 PM

Hello, I'm having the same error with android build tools 23.0.1 too. here is the error log: CommandInvokationFailure: Failed to re-package resources. See the Console for details. /Users/user1/Downloads/Android/android-sdk-macosx/build-tools/23.0.1/aapt package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "/Users/user1/Downloads/Android/android-sdk-macosx/platforms/android-23/android.jar" -F bin/resources.ap_ --extra-packages com.android.vending.billing:com.unity.purchasing.googleplay:android.support.v7.cardview:android.support.v7.cardview:com.unity.purchasing:com.facebook:com.facebook:com.facebook.android:com.facebook.android:android.support.v4:android.support.v4 -S "/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/GoogleAIDL/res" -S "/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/GooglePlay/res" -S "/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res" -S "/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.2.1/res" -S "/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/common/res" -S "/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res" -S "/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.9.0/res" -S "/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-wrapper-7.4.0/res" -S "/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-wrapper-7.5.0/res" -S "/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/support-v4-23.1.1/res" -S "/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/support-v4-23.2.1/res"

stderr[ /Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/layout/com_facebook_device_auth_dialog_fragment.xml:117: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from /Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/layout/com_facebook_device_auth_dialog_fragment.xml:88: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from /Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/layout/com_facebook_device_auth_dialog_fragment.xml:70: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from /Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/layout/com_facebook_device_auth_dialog_fragment.xml:56: note: removing attribute http://schemas.android.com/apk/res/android:fontFamily from /Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/layout/com_facebook_device_auth_dialog_fragment.xml: note: using v16 attributes; synthesizing resource COM.INCUBATOR.PILLSAGA:layout/com_facebook_device_auth_dialog_fragment for configuration v16. /Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:23: error: Attribute "com_facebook_foreground_color" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:23: error: Attribute "com_facebook_object_id" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:23: error: Attribute "com_facebook_object_type" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:23: error: Attribute "com_facebook_style" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:23: error: Attribute "com_facebook_auxiliary_view_position" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:23: error: Attribute "com_facebook_horizontal_alignment" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:24: error: Attribute "com_facebook_confirm_logout" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:24: error: Attribute "com_facebook_login_text" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:24: error: Attribute "com_facebook_logout_text" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:24: error: Attribute "com_facebook_tooltip_mode" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:25: error: Attribute "com_facebook_preset_size" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/facebook-android-sdk-4.11.0/res/values/values.xml:25: error: Attribute "com_facebook_is_cropped" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute "cardBackgroundColor" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute "cardCornerRadius" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute "cardElevation" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute "cardMaxElevation" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute "cardUseCompatPadding" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute "cardPreventCornerOverlap" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute "contentPadding" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute "contentPaddingLeft" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute "contentPaddingRight" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute "contentPaddingTop" has already been defined

/Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute "contentPaddingBottom" has already been defined

] stdout[ Configurations: (default)

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

Resource Dirs: Including resources from package: /Users/user1/Downloads/Android/android-sdk-macosx/platforms/android-23/android.jar applyFileOverlay for drawable trying overlaySet Key=com_facebook_auth_dialog_background.xml trying overlaySet Key=com_facebook_auth_dialog_cancel_background.xml trying overlaySet Key=com_facebook_auth_dialog_header_background.xml trying overlaySet Key=com_facebook_button_background.xml trying overlaySet Key=com_facebook_button_icon.xml trying overlaySet Key=com_facebook_button_icon_blue.png trying overlaySet Key=com_facebook_button_icon_white.png trying overlaySet Key=com_facebook_button_like_background.xml trying overlaySet Key=com_facebook_button_like_icon_selected.png trying overlaySet Key=com_facebook_button_login_silver_background.xml trying overlaySet Key=com_facebook_button_send_background.xml trying overlaySet Key=com_facebook_button_send_icon_blue.png trying overlaySet Key=com_facebook_button_send_icon_white.png trying overlaySet Key=com_facebook_close.png trying overlaySet Key=com_facebook_favicon_white.png trying overlaySet Key=com_facebook_profile_picture_blank_portrait.png trying overlaySet Key=com_facebook_profile_picture_blank_square.png trying overlaySet Key=com_facebook_send_button_icon.xml trying overlaySet Key=com_facebook_tooltip_black_background.9.png trying overlaySet Key=com_facebook_tooltip_black_bottomnub.png trying overlaySet Key=com_facebook_tooltip_black_topnub.png trying overlaySet Key=com_facebook_tooltip_black_xout.png trying overlaySet Key=com_facebook_tooltip_blue_background.9.png trying overlaySet Key=com_facebook_tooltip_blue_bottomnub.png trying overlaySet Key=com_facebook_tooltip_blue_topnub.png trying overlaySet Key=com_facebook_tooltip_blue_xout.png trying overlaySet Key=messenger_bubble_large_blue.png trying overlaySet Key=messenger_bubble_large_white.png trying overlaySet Key=messenger_bubble_small_blue.png trying overlaySet Key=messenger_bubble_small_white.png trying overlaySet Key=messenger_button_blue_bg_round.xml trying overlaySet Key=messenger_button_blue_bg_selector.xml trying overlaySet Key=messenger_button_send_round_shadow.png trying overlaySet Key=messenger_button_white_bg_round.xml trying overlaySet Key=messenger_button_white_bg_selector.xml trying overlaySet Key=com_facebook_auth_dialog_background.xml baseFile 0 has flavor overlayFile 0 has flavor found a match (0) for overlay file com_facebook_auth_dialog_background.xml, for flavor trying overlaySet Key=com_facebook_auth_dialog_cancel_background.xml baseFile 0 has flavor overlayFile 0 has flavor found a match (0) for overlay file com_facebook_auth_dialog_cancel_background.xml, for flavor trying overlaySet Key=com_facebook_auth_dialog_header_background.xml baseFile 0 has flavor overlayFile 0 has flavor found a match (0) for overlay file com_facebook_auth_dialog_header_background.xml, for flavor trying overlaySet Key=com_facebook_button_background.xml baseFile 0 has flavor overlayFile 0 has flavor found a match (0) for overlay file com_facebook_button_background.xml, for flavor trying overlaySet Key=com_facebook_button_icon.xml baseFile 0 has flavor overlayFile 0 has flavor found a match (0) for overlay file com_facebook_button_icon.xml, for flavor trying overlaySet Key=com_facebook_button_icon_blue.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file com_facebook_button_icon_blue.png, for flavor mdpi-v4 found a match (1) for overlay file com_facebook_button_icon_blue.png, for flavor hdpi-v4 found a match (2) for overlay file com_facebook_button_icon_blue.png, for flavor xhdpi-v4 found a match (3) for overlay file com_facebook_button_icon_blue.png, for flavor xxhdpi-v4 trying overlaySet Key=com_facebook_button_icon_white.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file com_facebook_button_icon_white.png, for flavor mdpi-v4 found a match (1) for overlay file com_facebook_button_icon_white.png, for flavor hdpi-v4 found a match (2) for overlay file com_facebook_button_icon_white.png, for flavor xhdpi-v4 found a match (3) for overlay file com_facebook_button_icon_white.png, for flavor xxhdpi-v4 trying overlaySet Key=com_facebook_button_like_background.xml baseFile 0 has flavor overlayFile 0 has flavor found a match (0) for overlay file com_facebook_button_like_background.xml, for flavor trying overlaySet Key=com_facebook_button_like_icon_selected.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file com_facebook_button_like_icon_selected.png, for flavor mdpi-v4 found a match (1) for overlay file com_facebook_button_like_icon_selected.png, for flavor hdpi-v4 found a match (2) for overlay file com_facebook_button_like_icon_selected.png, for flavor xhdpi-v4 found a match (3) for overlay file com_facebook_button_like_icon_selected.png, for flavor xxhdpi-v4 trying overlaySet Key=com_facebook_button_login_silver_background.xml baseFile 0 has flavor overlayFile 0 has flavor found a match (0) for overlay file com_facebook_button_login_silver_background.xml, for flavor trying overlaySet Key=com_facebook_button_send_background.xml baseFile 0 has flavor overlayFile 0 has flavor found a match (0) for overlay file com_facebook_button_send_background.xml, for flavor trying overlaySet Key=com_facebook_button_send_icon_blue.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 com_facebook_button_send_icon_blue.png, for flavor mdpi-v4 found a match (1) for overlay file com_facebook_button_send_icon_blue.png, for flavor hdpi-v4 found a match (2) for overlay file com_facebook_button_send_icon_blue.png, for flavor xhdpi-v4 trying overlaySet Key=com_facebook_button_send_icon_white.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file com_facebook_button_send_icon_white.png, for flavor mdpi-v4 found a match (1) for overlay file com_facebook_button_send_icon_white.png, for flavor hdpi-v4 found a match (2) for overlay file com_facebook_button_send_icon_white.png, for flavor xhdpi-v4 found a match (3) for overlay file com_facebook_button_send_icon_white.png, for flavor xxhdpi-v4 trying overlaySet Key=com_facebook_close.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 com_facebook_close.png, for flavor mdpi-v4 found a match (1) for overlay file com_facebook_close.png, for flavor hdpi-v4 found a match (2) for overlay file com_facebook_close.png, for flavor xhdpi-v4 trying overlaySet Key=com_facebook_favicon_white.png baseFile 0 has flavor mdpi-v4 baseFile 1 has flavor hdpi-v4 baseFile 2 has flavor xhdpi-v4 baseFile 3 has flavor xxhdpi-v4 overlayFile 0 has flavor mdpi-v4 overlayFile 1 has flavor hdpi-v4 overlayFile 2 has flavor xhdpi-v4 overlayFile 3 has flavor xxhdpi-v4 found a match (0) for overlay file com_facebook_favicon_white.png, for flavor mdpi-v4 found a match (1) for overlay file com_facebook_favicon_white.png, for flavor hdpi-v4 found a match (

can anyone help?

Comment
Add comment · Show 1 · Share
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
avatar image liortal · Jul 28, 2016 at 08:48 PM 0
Share

from the error message (for example: /Users/user1/Desktop/clientsProject/Project/Pill Saga/Temp/StagingArea/android-libraries/cardview-v7-23.1.1/res/values/values.xml:9: error: Attribute "card$$anonymous$$axElevation" has already been defined)

it looks like you have the Facebook SD$$anonymous$$ (and its dependencies) somehow included more than once in your project.

avatar image
0

Answer by sudhansu · Sep 09, 2016 at 10:34 AM

Do not get panic just remove the latest sdk version from build-tools in your android sdk folder. It will definitely works. Remove 24.0.0 and above Happy coding

Comment
Add comment · Share
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
  • ‹
  • 1
  • 2
  • 3
  • 4
  • ›

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

73 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

Related Questions

Android SDK does not include error 1 Answer

Having issue building apk 1 Answer

APK is installed but does not show the application and does not open either. 1 Answer

Error build android app 1 Answer

Failed to re-package resources using everyplay plugin and google play plugin for leaderboard 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