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 kyly1992 · Aug 16, 2014 at 06:11 PM · admobgoogle play

Aftering adding admob plugin i get error when building : Failed to repackage resources

So i have google play services running successfully on my app and now i wanted to add some ads to my game. So i downloaded the admob plugin followed the steps from the video below

http://www.youtube.com/watch?v=kBRb9ba71qI.

however when i proceed to build i received the following error

Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details. C:\ADT BUNDLE\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/adt-bundle-windows-x86_64-20140702/sdk/platforms/android-20\android.jar" -F bin/resources.ap_ --extra-packages com.google.example.games.basegameutils:com.google.android.gms:com.SightHillsInc.KillerBeeAttack -S

stderr[ C:\Users\kyly\Documents\test\Temp\StagingArea\android-libraries\google-play-services_lib\res\values\ads_attrs.xml:10: error: Attribute "adSize" has already been defined C:\Users\kyly\Documents\test\Temp\StagingArea\android-libraries\google-play-services_lib\res\values\ads_attrs.xml:17: error: Attribute "adSizes" has already been defined C:\Users\kyly\Documents\test\Temp\StagingArea\android-libraries\google-play-services_lib\res\values\ads_attrs.xml:20: error: Attribute "adUnitId" has already been defined C:\Users\kyly\Documents\test\Temp\StagingArea\android-libraries\google-play-services_lib\res\values\common_colors.xml:4: error: Resource entry common_signin_btn_dark_text_default is already defined.

Any help would be appreciated, thank you, just needed to be pointed in the right direction.

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

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by kyly1992 · Aug 27, 2014 at 12:59 PM

So i solved this problem, anyone who comes across the same problem this is what solved it for me. i delete the admob plugin and the google play services plugin from my project and just reimported them. cheers

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 dayone · Jun 02, 2015 at 01:10 PM 0
Share

This answer solved my problem after upgrading Soomla's Store plugin.

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

23 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

Related Questions

after compiling the game "(app's name) keeps stopping" 0 Answers

can not build apk file when i import admob 1 Answer

google play leader board and admob interstitial error 1 Answer

HELP Build error for Android Unity 2018.2.21f1 in Google Services 0 Answers

Difference between local apk and Google Play apk 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