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 WaxerPL · Feb 28, 2016 at 09:33 AM · androidadmobandroidpluginandroid-manifestunity android

Unity Admob Failed to re-package resources

I've got very big problem! I followed this tutorial: https://www.youtube.com/watch?v=q5T98X3EawA Everything is working, ads are visible etc on "empty project", but when I add any my own script for example script to change Text in Canvas I can not build and run and

(I'm using Unity 5.1.2)

I get error:

CommandInvokationFailure: Failed to re-package resources. See the Console for details. D:\AndroidGlowne\build-tools\21.1.2\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "D:/AndroidGlowne\platforms\android-23\android.jar" -F bin/resources.ap_ --extra-packages android.support.v7.appcompat:com.google.android.gms:com.google.unity:com.google.android.gms.ads:com.google.android.gms:android.support.v4 -S

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
-1

Answer by Extazik24 · Oct 28, 2016 at 09:49 PM

Had the same problem but i finally fixed it !

step one : delete your admob and google play game plugin !

step two : reimporte google play game plugin first !

step three : reimporte admob plugin but uncheck (android/android manifest) and (libs) !

Done !

Comment
Add comment · Show 3 · 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 rene_cayunir · Nov 16, 2016 at 03:10 PM 0
Share

what is the libs ?????? my game build, but crash when execute the show banner function

avatar image tuhin_09 · Feb 20, 2017 at 06:26 PM 0
Share

Thnx a lot.............It's worked

avatar image Meltdown · Aug 25, 2017 at 04:49 AM 0
Share

That doesn't work. I get \android-libraries\Google$$anonymous$$obileAdsPlugin' is missing Android$$anonymous$$anifest.xml file.

avatar image
0

Answer by jc-drile77 · Mar 03, 2016 at 12:33 AM

Copy google-play-services_lib folder to Plugins/Android, so you don't have to hard code Google Play Service's value. You can find that folder on your RootFolder:\Android\sdk\extras\google\google_play_services\libproject\google-play-services_lib Here you have a guide: https://developers.google.com/admob/android/games#unity Oh and if I can recall, 2.3.0 and 2.3.1 were broken for me and the one working was 2.2.1. But they´ve released 3.0.0 & 3.0.1 so they might work too :) https://github.com/googleads/googleads-mobile-unity/releases

PD: Easy answer, you just have to search a little, it took me 2 clicks :P http://answers.unity3d.com/questions/760989/failed-to-re-package-resources-2.html

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 · Nov 19, 2016 at 09:22 PM 0
Share

I can help fixing this: https://goo.gl/qHOa2G

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

10 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

Related Questions

dll is not allowed to be included or could not be found" error unity3d for android 8 Answers

Is it possible to register android application in AndroidManifest.xml? 0 Answers

How to alter the Android Manifest to use my ad-displaying activity in Unity? 0 Answers

Using CustomUnityPlayerActivity, which inherits from UnityPlayerActivity, will cause problems. 0 Answers

Editing Android Plugins 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