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
1
Question by KinzerioKun · May 22, 2016 at 08:02 PM · androidsdkgoogle play

Help with problems with re-packaging resources and google-play-services_lib location?

I've seen some answers that fix the unable to re-package resources error, and also the AndroidManifest.xml file. For that I'd have to copy the google-play-services_lib to the Plugins/Android, but I don't know the full location of google-play-services_lib, or if it's in my project or my pc. In resume: Where's that google-play-services_lib folder? Is there a permanent fix to the error? I'm a complete beginner in Unity, I've just been doing this cardboard VR app for three days for a school project, and it's due next week, so I hope you guys can help. EDIT: This was my error:

Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details. C:\Users\Usuario\AppData\Local\Android\sdk\build-tools\24.0.0-preview\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/Usuario/AppData/Local/Android/sdk\platforms\android-23\android.jar" -F bin/resources.ap_ --extra-packages com.google.android.gms:com.google.vr.cardboard:com.oculus.Integration:vr.gvr.platform.unity -S "C:\Users\Public\Documents\Unity Projects\new cardboard test\Temp\StagingArea\android-libraries\google-play-services_lib\res" -S "C:\Users\Public\Documents\Unity Projects\new cardboard test\Temp\StagingArea\android-libraries\gvr_android_common\res" -S "C:\Users\Public\Documents\Unity Projects\new cardboard test\Temp\StagingArea\android-libraries\ovrplugin\res" -S "C:\Users\Public\Documents\Unity Projects\new cardboard test\Temp\StagingArea\android-libraries\unitygvractivity\res"

stderr[

] stdout[

]

I don't even know anything anymore at this point. Please send help.

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 drewwise · Jun 17, 2016 at 08:10 AM 0
Share

I am having the same problem.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by drewwise · Jun 18, 2016 at 05:47 AM

I managed to build by reimporting the package that contained the google-play libs downgrading to 23.0.3 build tools and using unity 5.4.0 beta21

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

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Compiling Android game doesn't work out 0 Answers

[SOLVED] Where do I find Android Resources? 1 Answer

OBB here but app won't load it and stay on the first scene 1 Answer

Android sdk not working. 0 Answers

Facebook SDK Android Error Message: "Failed to re-package resources. See Console for details" 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