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 wenderRondonia · Sep 20, 2017 at 06:24 PM · androidfacebookadmobgoogle play games

Can't build after importing facebok SDK 7.10.0

Project had plugins like - UnityIAP, - Admob - Google play games services. - Google Services Resolver

Try building results in Failed to re-package resources. Seems facebook is trying to acess some appcompat library. I tried to import that library but then it yields other errors. please I need directions, I am almost sure some of these plugins is conflicting with each other.

here is the complete error:

CommandInvokationFailure: Failed to re-package resources. C:\Users\WenPC\AppData\Local\Android\sdk\build-tools\26.0.1\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:\Users\WenPC\AppData\Local\Android\sdk\platforms\android-25\android.jar" -F bin/resources.ap_ --extra-packages com.unity.purchasing:com.facebook:com.facebook.android:com.android.vending.billing:com.google.unity.ads:com.unity.purchasing.googleplay:com.google.example.games.mainlibproj: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.drive:com.google.android.gms.games:com.google.android.gms.gass:com.google.android.gms.nearby:com.google.android.gms.tasks:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4 -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\common\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\facebook-android-wrapper-7.10.0\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\GoogleAIDL\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\GooglePlay\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\play-services-ads-10.2.6\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\play-services-ads-lite-10.2.6\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\play-services-auth-10.2.6\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\play-services-auth-base-10.2.6\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\play-services-base-10.2.6\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\play-services-basement-10.2.6\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\play-services-drive-10.2.6\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\play-services-games-10.2.6\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\play-services-gass-10.2.6\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\play-services-nearby-10.2.6\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\play-services-tasks-10.2.6\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\support-compat-25.2.0\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\support-core-ui-25.2.0\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\support-core-utils-25.2.0\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\support-fragment-25.2.0\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\support-media-compat-25.2.0\res" -S "C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\support-v4-25.2.0\res"

stderr[ C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\values\values.xml:131: error: Error retrieving parent for item: No resource found that matches the given name '@style/Theme.AppCompat.NoActionBar'.

C:\Users\WenPC\Documents\UnityProjects\otgame\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\values\values.xml:136: error: Error retrieving parent for item: No resource found that matches the given name '@style/Theme.AppCompat.Dialog'.

] stdout[ Configurations: (default)

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

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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Shrykar · Sep 20, 2017 at 07:18 PM

@wenderRondonia, you are correct that your plugins are conflicting. The error points you to this "CommandInvokationFailure: Failed to re-package resources. C:\Users\WenPC\AppData\Local\Android\sdk\build-tools\26.0.1\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "

GPGS and FB android manifests will always conflict, google is your friend here and will tell you exactly how to fix it. I don't remember off the top of my head but can give more help if you run into further trouble.

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 Kitos14 · Sep 27, 2017 at 03:23 PM

Did u found the 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 Shrykar · Sep 27, 2017 at 06:42 PM 0
Share

All he has to do is remove conflicts from the fb android manifest.

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

150 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

Related Questions

Having trouble building android project after adding Google Play Games and Google adMob 1 Answer

App crashes on google play login 1 Answer

Admob calculating banner Ad size 0 Answers

Admob and GooglePlayGames not working together 1 Answer

Unity and Admob using latest Play Services Plugin 7 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