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 N1warhead · Nov 06, 2014 at 09:09 AM · androidmobile

Android Native Plugin (NOT WORKING)

Hey guys I purchased the Android Native Plugin a couple days ago and I just can't seem to get the problem fixed

Here is my error.

 Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
 C:\Users\easy2own\Desktop\Android\sdk\build-tools\21.1.0\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/easy2own/Desktop/Android/sdk/platforms/android-21\android.jar" -F bin/resources.ap_
 
 stderr[
 AndroidManifest.xml:51: Tag <category> attribute name has invalid character '%'.
 AndroidManifest.xml:57: Tag <provider> attribute authorities has invalid character '%'.
 ]
 stdout[
 Configurations:
  (default)
 
 Files:
   drawable\app_icon.png
     Src: () res\drawable\app_icon.png
   values\analytics.xml
     Src: () res\values\analytics.xml
   values\ids.xml
     Src: () res\values\ids.xml
   values\strings.xml
     Src: () res\values\strings.xml
   values\version.xml
     Src: () res\values\version.xml
   xml\file_paths.xml
     Src: () res\xml\file_paths.xml
   AndroidManifest.xml
     Src: () AndroidManifest.xml
 
 Resource Dirs:
   Type drawable
     drawable\app_icon.png
       Src: () res\drawable\app_icon.png
   Type values
     values\analytics.xml
       Src: () res\values\analytics.xml
     values\ids.xml
       Src: () res\values\ids.xml
     values\strings.xml
       Src: () res\values\strings.xml
     values\version.xml
       Src: () res\values\version.xml
   Type xml
     xml\file_paths.xml
       Src: () res\xml\file_paths.xml
 Including resources from package: C:\Users\easy2own\Desktop\Android\sdk\platforms\android-21\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: 94% size of source)
     (new resource id app_icon from drawable\app_icon.png #generated)
     (new resource id file_paths from res\xml\file_paths.xml)
 ]


Okay, well the help documentation says to Uninstall the Facebook SDK thing, so well I did.. That didn't work, then it said to try to install Java 32 bit, well that didn't work.

So I installed almost entire Android SDK, well actually I did, except for the versions of Android I'm not using.

Then I installed 32 bit and 64 bit java development kit, and still that doesn't work.

I don't know what else to do.

Comment
Add comment · Show 2
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 NaRango4 · Nov 06, 2014 at 11:13 AM 0
Share

seems to me like you have a invalid character(%) on line 51, 57 in your Android$$anonymous$$anifest.xml file.

avatar image Shifty-Geezer · Nov 07, 2014 at 05:24 PM 0
Share

Although true, they aren't on those line numbers as the parser seems to remove white space before counting lines. $$anonymous$$ine were on line 70 and 81.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Shifty-Geezer · Nov 07, 2014 at 05:34 PM

Just solved this myself after the usual hair pulling and teeth grinding. In the manifest.xml file, there are a number of "%APP_BUNDLE_ID%" places where you are supposed to substitute your app bundle. Which of course you've done just as you were told to in the instructions for setup, but those instructions don't go on to tell you to replace the other tokens in the rest of the manifest.

So just search for any %APP_BUNDLE_ID%" in the manifest and replace with your com.blahblah.app bundle ID.

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

28 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 avatar image avatar image avatar image avatar image avatar image

Related Questions

Multiple Cars not working 1 Answer

Help Understanding the Use of Unity with Android 1 Answer

Instantiate then access component(s) 2 Answers

Simple Unity3d Facebook Integration? 1 Answer

Unity and ARMv6 with VFP, how to downgrade from Unity 4.x to Unity 3.5.x? How to use both Unity without errors and issues? 2 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