Unable to merge android manifests for VR

I get the error when trying to build and run the project. Can’t find any solution that works for me.

Error message:

CommandInvokationFailure: Unable to merge android manifests. See the Console for more details.
C:/Program Files (x86)/Java/jdk1.8.0_111\bin\java.exe -Xmx1024M -Dcom.android.sdkmanager.toolsdir=“C:/Users/Euan/Documents/Android/sdk\tools” -Dfile.encoding=UTF8 -jar “C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar” -

stderr[

]
stdout[
Warning: [Temp\StagingArea\AndroidManifest-main.xml:1] Missing ‘package’ attribute in manifest.
Warning: [Temp\StagingArea\AndroidManifest-main.xml:14, C:\Users\Euan\Documents\University Work\Honours Project\Honours Project v2\Temp\StagingArea\android-libraries\gvr-permissionsupport-release\AndroidManifest.xml:3] Main manifest has but library uses targetSdkVersion=‘24’
]
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[ ] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.AndroidSDKTools.RunCommandSafe (System.String javaExe, System.String sdkToolsDir, System.String[ ] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.HostView:OnGUI()

Use GoogleVR 1.03. This video shows at about 11 min:

2 Likes

That’s sorted me! Thank you very much!

thanks for the share Selzier, love the tutorials you make. I assume 1.1 still hasn’t been fixed on unity 5.5 yet has it ?

Nope, we can watch GoogleVR github for a new commit but last update was over 30 days ago:

It’s way simpler on Mac but never the less GREAT JOB!

1 Like