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 Pdpalma · Mar 17, 2016 at 10:29 PM · android buildunity 4.6androidpluginandroid sdkandroid-manifest

Unity3D Compile Error: Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details

Hi, i got a problem to build my android APK.

I've saw some question with the same error, but everything is about Google Play Services.

In my case i have the same error but with my own Plugin. The error i'ts from the Android Manifest.xml, and i need know how i can resolve it.

In some forums i'd see the solutions like; Update the building tools (i'm do it) and add some lines to the AndroidManifest.xml....but these lines, are to Google Play Service...i must rewrite to my own Plugin.

Any idea?

I paste the error and another solutions for reference;

http://answers.unity3d.com/questions/834744/building-android-application-failed-re-package-res.html

ERROR OUTPUT:

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 Pdpalma · Mar 17, 2016 at 01:27 PM 0
Share
 Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
 C:\Users\ppalma\AppData\Local\Android\sdk\build-tools\24.0.0-preview\aapt.exe package --auto-add-overlay -v -f -m -J gen -$$anonymous$$ Android$$anonymous$$anifest.xml -S "res" -I "C:/Users/ppalma/AppData/Local/Android/sdk/platforms/android-23\android.jar" -F bin/resources.ap_
 
 stderr[
 Android$$anonymous$$anifest.xml:7: error: Error: No resource found that matches the given name (at 'theme' with value '@style/Theme.Holo.Light.DarkActionBar').
 
 ]
 stdout[
 Configurations:
  (default)
 
 Files:
   drawable\app_icon.png
     Src: () res\drawable\app_icon.png
   values\strings.xml
     Src: () res\values\strings.xml
   Android$$anonymous$$anifest.xml
     Src: () Android$$anonymous$$anifest.xml
 
 Resource Dirs:
   Type drawable
     drawable\app_icon.png
       Src: () res\drawable\app_icon.png
   Type values
     values\strings.xml
       Src: () res\values\strings.xml
 Including resources from package: C:\Users\ppalma\AppData\Local\Android\sdk\platforms\android-23\android.jar
 applyFileOverlay for drawable
 applyFileOverlay for layout
 applyFileOverlay for anim
 applyFileOverlay for animator
 applyFileOverlay for interpolator
 applyFileOverlay for transition
 applyFileOverlay for xml
 applyFileOverlay for raw
 applyFileOverlay for color
 applyFileOverlay for menu
 applyFileOverlay for mipmap
 Processing image: res\drawable\app_icon.png
     (processed image res\drawable\app_icon.png: 90% size of source)
     (new resource id app_icon from drawable\app_icon.png #generated)
 ]

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by abhinandand91 · May 10, 2016 at 02:20 PM

Just remove that '@style/Theme.Holo.Light.DarkActionBar' line of code from Manifest and it will work .

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

CommandInvokationFailure: Gradle build failed. unity 2019.4.22 1 Answer

weird error prevent unity building apk PLZ help 2 Answers

CommandInvokationFailure: Failed to re-package resources. 1 Answer

Unable to merge android manifests. Trying to merge incompatible element with unity 2017 2 Answers

com.android.tools.r8 compilation error please help 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