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 /
This question was closed Aug 23, 2016 at 04:23 AM by uniqueque for the following reason:

Problem is not reproducible or outdated。I solved it。

avatar image
0
Question by uniqueque · Aug 23, 2016 at 07:42 AM · build error

Failed to re-package resources

This is the second time I meet this problem.The first time I solved it quickly.But a few months latter I meet it again. This time I have tried many many ways but I can't solve it.

D:\Android\android-sdk\build-tools\23.0.3\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "D:/Android/android-sdk\platforms\android-24\android.jar" -F bin/resources.ap_ --extra-packages com.google.unity:com.google.example.games.mainlibproj:com.google.android.gms.base:com.google.android.gms:com.google.android.gms.drive:com.google.android.gms.games:com.google.android.gms.nearby:com.google.android.gms.tasks:android.support.v4:com.xiaoxiaoniao.xiaoxiaoniao:com.unity3d.ads.android -S "F:\gameproject\app\littlelittlebirdtest\Temp\StagingArea\android-libraries\play-services-base-9.4.0\res" -S "F:\gameproject\app\littlelittlebirdtest\Temp\StagingArea\android-libraries\play-services-basement-9.4.0\res" -S "F:\gameproject\app\littlelittlebirdtest\Temp\StagingArea\android-libraries\play-services-drive-9.4.0\res" -S "F:\gameproject\app\littlelittlebirdtest\Temp\StagingArea\android-libraries\play-services-games-9.4.0\res" -S "F:\gameproject\app\littlelittlebirdtest\Temp\StagingArea\android-libraries\play-services-nearby-9.4.0\res" -S "F:\gameproject\app\littlelittlebirdtest\Temp\StagingArea\android-libraries\play-services-tasks-9.4.0\res" -S "F:\gameproject\app\littlelittlebirdtest\Temp\StagingArea\android-libraries\support-v4-23.4.0\res" -S "F:\gameproject\app\littlelittlebirdtest\Temp\StagingArea\android-libraries\unity-android-resources\res" -S "F:\gameproject\app\littlelittlebirdtest\Temp\StagingArea\android-libraries\unityads-release\res"

I have tried:

1.build tools 23.01、23.02、23.03 and24.0.0;

2.platforms android-23 and android-24;

3.delete the “AndroidManifest.xml” in the two paths “\Assets\Plugins\Android\MainLibProj\AndroidManifest.xml” and “Assets\Plugins\Android\GoogleMobileAdsPlugin\AndroidManifest.xml” ,but it causes other problems;

4.paste "version.xml" in the path"Assets\Plugins\Android\res\values",but it don't work;

5.check the jdk in the path "D:\Java\jdk1.8.0_91",it's ok.....

I'm very sorry for my poor English,but I really need help!

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

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Error building Player: Exception: android (invokation failed) 3 Answers

CommandInvokationFailure: Failed to re-package resources 1 Answer

Cloud Build ENOENT error 0 Answers

GoogleVR - Cardboard + Android build error 1 Answer

Unity 2017.2 error when build apk for android 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