Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
piotrek's avatar
piotrek
Explorer
10 years ago

Does Unity generate correct AndroidManifest.xml?

I am using Unity 5.3.2f1 on OSX 10.10.5. I've got "Virtual Reality Supported" option checked and I am able to run app on the device. However, after using check_submission script and generating release APK I am getting those errors:
***
*** 4 errors detected. Submission does not meet requirements.
***

--> APK ('/Users/piotr/Projects/VRUnityApp/apk_export_release.apk') is not built with SDK version v1.0.0 (or newer)
--> APK is launchable (launchable-activity)
--> Intent Filter Category attribute (application/activity/intent-filter/category) must be INFO in manifest
--> Exclude from Recents (android:excludeFromRecents) must be non-0 in manifest


After looking at manifest from StagingArea folder I see it doesn't include those options.
Oculus docs say:
The manifests of projects built with Unity's first-party VR support enabled (available in Unity 5.1.1p1 and later) are automatically updated during build to meet our requirements (landscape orientation, vr_only, et cetera).


Does it mean that my Unity version is buggy and it doesn't generate correct manifest?
Does it mean I have to create own manifest file and put it into Plugins/Android? How should it look like? Should I copy it from StagingArea and replace required options?
Also first error seems to refer to Mobile SDK - should I worry about it?

15 Replies

Replies have been turned off for this discussion