• 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 /
  • Help Room /
avatar image
0
Question by hixiaohe · Jun 02, 2017 at 08:03 AM · unity 5oculus

Unity(5.6.1f1) +oculus unable to merge android manifests. See the console for more details

Hello and have a good day:)

I spent a week to find and fix this error, still not solve.

unity 5.6.1f1 + oculus + vuforia-unity-6-2-10 (it seems no relation to vuforia) . when I build my project for android platform, in player settings check Virtual Reality Supported(select Virtual Reality SDKs Oculus, this made the error!!) then build I got this error:

Loading library manifest C:\Users\kaennkyou\Documents\VuforiaGear002\Temp\StagingArea\android-libraries\OVRPlugin\AndroidManifest.xml Merging main manifest Temp\StagingArea\AndroidManifest-main.xml Merging library manifest C:\Users\kaennkyou\Documents\VuforiaGear002\Temp\StagingArea\android-libraries\OVRPlugin\AndroidManifest.xml Merging manifest with lower AndroidManifest.xml:2:1-8:12 Merging application with lower AndroidManifest.xml:3:3-5:17 Merging uses-permission#android.permission.INTERNET with lower AndroidManifest.xml:6:3-65 C:\Users\kaennkyou\Documents\VuforiaGear002\Temp\StagingArea\AndroidManifest-main.xml:10:83-141 Error: Attribute application@theme value=(@android:style/Theme.NoTitleBar.Fullscreen) from AndroidManifest-main.xml:10:83-141 is also present at AndroidManifest.xml:3:83-147 value=(@android:style/Theme.Black.NoTitleBar.Fullscreen). Suggestion: add 'tools:replace="android:theme"' to element at AndroidManifest-main.xml:10:3-31:17 to override.

I fond that in my project file, unity create the two androidmanifests in my project\Temp\StagingArea\AndroidManifest-main and myproject\Temp\StagingArea\android-libraries\OVRPlugin\AndroidManifest. However there are some conflicts in these two manifest: in myproject\Temp\StagingArea\android-libraries\OVRPlugin\AndroidManifest:

in my project\Temp\StagingArea\AndroidManifest-main:

These two androidmanifests are generated automatically,so I can not rewrite. I followed this http://answers.unity3d.com/questions/1355171/androidmanifest-mainxml-merging-error.html?childToView=1359552#comment-1359552 changed the androidManifest in C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\Apk, it worked for a day,and now it did not work.

Does anyone has the same problem? Thank you for any 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 hixiaohe · Jun 02, 2017 at 08:20 AM 0
Share

here is the oculus

oculus.png (64.4 kB)
avatar image DamianGray · Jun 02, 2017 at 09:42 AM 0
Share

I'm trying to build my first VR game for the Samsung Gear VR and I am having this same exact issue.

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by hixiaohe · Jun 02, 2017 at 10:09 AM

Just now I fond a solution:

Delete AndroidManifest in unity Assets\Plugins\Android. Then it works.

Anyone has this problem, please try! Hope help u!

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

Answer by firaskallel · Dec 11, 2017 at 02:41 PM

just download Oculus Utilities for Unity, and add it. it should 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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

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

Unity 5.4.0f3 Oculus SDK2 Not working 2 Answers

How can check if an game object is garbed in Unity VR oculus integration 0 Answers

Oculus Rift not working with Unity 5? 4 Answers

oculus go movement 0 Answers

Gear VR template scene for Unity 5.1+ ? 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