very late reply… anyhow…
There are more android manifest files due to more plugins. When taking a build unity merges them all.
conflict will happen if the files have different values
the case above have the two different values @android:value=“6171000”> @android:value=“@@Integer/google_play_services_version”>
which ever is correct value, add it to both the android manifest files.
or
I know this topic is old but I want to put my solution here.
I was using two plugins, unity ads and a native android plugin.
When importing the native android plugin a few of the names where the same as in the ads folder.
These files overwrote the ones in the ads folder and made i stop working.
Solution: Reimport asset that may have been overwritten.
I just went to the project folder, searched for all AndroidManifest files and edited them all to have the same min and targeted versions. Just didnt match
I STARTED A NEW PROJECT ,ADDED THE CARDBOARD VR MAIN CAMERA AND A SIMPLE CUBE AND TRIED TO BUILD PROJECT IT SHOW ERROR (unable to merge android manifests )
WHAT TO DO PLZ REPLY ANYONE HAVING SOLUTION…
Seems to be after sorting it for me anyways. It passed the merging files section. Didn’t actually have sdk version 24 so waiting on that now to test again. Thanking you!!
Changing the target sdk version to 24 did solve that problem and but now gives a new error:
stderr[
AndroidManifest.xml:30: error: No resource identifier found for attribute ‘enableVrMode’ in package ‘android’
]
Virtual Reality Supported is clicked and I’ve tried each of the sdks. There’s 2 lines that stand out in the AndroidManifest and AndroidManifestCardboard which I’ve tried changing to true individually and simultaneously with no change.