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 Rarceth · Jun 23, 2017 at 10:15 AM · androidandroid buildmerge

Cannot merge android manifest, but project is empty

Having issues where the build is stopping with error: "Unable to merge android manifests".

I've done a bucket of reading, and I know that this is caused by Unity finding discrepancies between multiple AndroidManifest.xml files. Problem is, after it didnt work the first time, I tried with an empty project, same problem. So only 1 manifest file, which is the one it creates in temp.

I tried making an override in the Assets/Plugins/Android folder, but no luck. It seems to ignore it, or something similar.

To reiterate... Android Manifest merge issues. No plugins No manifest files.

Error Code:

 C:\Users\Earthling\Documents\Introduction-To-HTC-Vive-Starter\Android Build Test\Temp\StagingArea\AndroidManifest-main.xml:4:125-150 Error:
     Attribute application@debuggable value=(true) from AndroidManifest-main.xml:4:125-150
     is also present at AndroidManifest.xml:3:148-174 value=(false).
     Suggestion: add 'tools:replace="android:debuggable"' to <application> element at AndroidManifest-main.xml:4:3-12:17 to override.
 C:\Users\Earthling\Documents\Introduction-To-HTC-Vive-Starter\Android Build Test\Temp\StagingArea\AndroidManifest-main.xml:4:16-57 Error:
     Attribute application@theme value=(@style/UnityThemeSelector) from AndroidManifest-main.xml:4:16-57
     is also present at AndroidManifest.xml:3:83-147 value=(@android:style/Theme.Black.NoTitleBar.Fullscreen).
     Suggestion: add 'tools:replace="android:theme"' to <application> element at AndroidManifest-main.xml:4:3-12:17 to override.
 
 UnityEditor.HostView:OnGUI()


Help?

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 hexagonius · Jun 23, 2017 at 10:46 AM 0
Share

I found this showing the same error and maybe of help:

https://answers.unity3d.com/questions/1355171/androidmanifest-mainxml-merging-error.html

And in this thread it looks like it has to do with different SD$$anonymous$$ versions used for Unity and in a plugin (as i can see in your path there's HTC Vive mentioned, so you're probably using it I reckon?):

https://forum.unity3d.com/threads/unity-merge-manifest-error.453394/

avatar image FiscusMedia · Jul 08, 2017 at 07:23 AM 0
Share

I'm having the same problem:

 AndroidSD$$anonymous$$ToolsException: Unable to merge android manifests. See the Console for more details


1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Vollmondum · Jul 08, 2017 at 07:53 AM

Don't forget to update your tools and android folder paths in Environment vars


screenshot-2332.png (15.4 kB)
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

131 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 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 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 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 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

How to port game on android wear ? 2 Answers

Unity2D quads not appearing in front of other quads in Android build 1 Answer

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

IL2CPP support for Linq 1 Answer

Changing texture at runtime not working on android build 1 Answer


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