Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 thusitha · Sep 20, 2014 at 10:32 AM · androidfacebook

Failed to build an apk after adding facebook SDK to unity3d project

I'm developing a game in unity3D version 4.3.2f1. As a feature I have integrated facebook SDK 5.1 to share the score in facebook. game works fine in unity player. When I try to build apk file for android it gives this error.

 Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
 C:\Program Files\eclipse\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:/Program Files/eclipse/adt-bundle-windows-x86_64-20140702/sdk/platforms/android-20\android.jar" -F bin/resources.ap_ --extra-packages com.facebook.android -S "C:\Users\Niroshan\Documents\Unity\Leap Frog\Temp\StagingArea\android-libraries\facebook\res"`
  
 stderr[
 res\values\attrs.xml:20: error: Attribute "show_pictures" has already been defined
 res\values\attrs.xml:21: error: Attribute "extra_fields" has already been defined
 res\values\attrs.xml:22: error: Attribute "show_title_bar" has already been defined
 res\values\attrs.xml:23: error: Attribute "title_text" has already been defined
 res\values\attrs.xml:24: error: Attribute "done_button_text" has already been defined
 res\values\attrs.xml:25: error: Attribute "title_bar_background" has already been defined 
 res\values\attrs.xml:26: error: Attribute "done_button_background" has already been defined
 res\values\attrs.xml:29: error: Attribute "multi_select" has already been defined
 res\values\attrs.xml:32: error: Attribute "radius_in_meters" has already been defined
 res\values\attrs.xml:33: error: Attribute "results_limit" has already been defined
 res\values\attrs.xml:34: error: Attribute "search_text" has already been defined
 res\values\attrs.xml:35: error: Attribute "show_search_box" has already been defined
 res\values\attrs.xml:38: error: Attribute "confirm_logout" has already been defined
 res\values\attrs.xml:39: error: Attribute "fetch_user_info" has already been defined
 res\values\attrs.xml:40: error: Attribute "login_text" has already been defined
 res\values\attrs.xml:41: error: Attribute "logout_text" has already been defined
 res\values\attrs.xml:44: error: Attribute "preset_size" has already been defined
 res\values\attrs.xml:50: error: Attribute "is_cropped" has already been defined
 C:\Users\Niroshan\Documents\Unity\Leap Frog\Temp\StagingArea\android-    libraries\facebook\res\layout\com_facebook_tooltip_bubble.xml:24: error: Error: No resource found   that matches the given name (at 'style' with value '@style/tooltip_bubble_text').
 ]

I can't figure out what is the wrong. I deleted the facebook plugin and imported it again, Change the JDK path to 32 bit version, and set the ADT to latest release but no use.I really appreciate any kind of help. Thank you in advance.

Comment
Add comment · Show 1
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 Aelcyx · Apr 23, 2015 at 05:04 AM 0
Share

Are you using Admob and/or Google Play Services?

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

Facebook SDK Unity Invite 1 Answer

Get Facebook User name with Facebook sdk Unity android 3 Answers

Is it possible to display Unity 3D object on the video play screen ? 0 Answers

How to Make Application in Unity for Android 0 Answers

Running Unity3D with Awesomium an android device 1 Answer


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