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 Lucifer95 · Feb 07, 2015 at 04:07 PM · androiderrormanifestmerge

unable to merge androidmenifest

Error building Player: CommandInvokationFailure: Unable to merge android manifests. See the Console for more details.

C:\Program Files (x86)\Java\jdk1.6.0_31sad\bin\java.exe -Xmx1024M -Dcom.android.sdkmanager.toolsdir="C:/Users/Bandhan/AppData/Local/Android/android-sdk\tools" -Dfile.encoding=UTF8 -jar "C:/Program Files (x86)/Unity/Editor/Data/BuildTargetTools/AndroidPlayer\sdktools.jar" -

stderr[ Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at SDKMain.main(SDKMain.java:129) Caused by: java.lang.NoSuchMethodError: com.android.utils.XmlUtils.getUtfReader(Ljava/io/File;)Ljava/io/Reader; at com.android.manifmerger.MergerXmlUtils.parseDocument(MergerXmlUtils.java:85) at com.android.manifmerger.ManifestMerger.process(ManifestMerger.java:231) at com.android.manifmerger.Main.run(Main.java:70) at com.android.manifmerger.Main.main(Main.java:48) ... 5 more ] stdout[

]

Getting this error after adding unity ads and there is only one androidmanifest file please help.. Thanking you

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 Lucifer95 · Feb 08, 2015 at 06:11 PM 0
Share

please any one can help me

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by liortal · Feb 12, 2015 at 12:10 AM

Unity uses the Android SDK that is installed on your machine and runs a few tools that are bundled with it.

The manifest merger is one example of such a tool.

This tool is located in \tools\lib\manifest-merger.jar

For some reason, it fails to find a method (seen in the stack trace you attached):

 java.lang.NoSuchMethodError: com.android.utils.XmlUtils.getUtfReader(Ljava/io/File;)Ljava/io/Reader;

You didn't specify which Android SDK version and Unity version you're using, but I believe updating to the latest Android SDK should solve this issue.

Comment
Add comment · Show 2 · 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 Lucifer95 · Feb 12, 2015 at 02:46 PM 0
Share

Thankyou so very much...It worked like a charm..

avatar image christianstrang · Nov 29, 2015 at 03:58 PM 0
Share

Updating to the latest Android SD$$anonymous$$ worked for me (while everything else failed). Thank you so much!

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

How To fix FacebookSDK merge error in androidmanifest.xml ? 0 Answers

Issue Manifest Merge 2 Answers

can't build android app with facebook sdk 5 Answers

Merging 2 AndroidManifest.xml's 1 Answer

how can i save my AndroidManifest correctly? ** (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