- Home /
Manifest merger failed issue due to allowBackup
I'm facing this issue when building my Pico VR application: E:\GitHub\oculus-webview-example\Temp\gradleOut\launcher\src\main\AndroidManifest.xml:44:9-36 Error: Attribute application@allowBackup value=(false) from [:unityLibrary] AndroidManifest.xml:44:9-36 is also present at [:Pico_PaymentSDK_Android_V1.0.34:] AndroidManifest.xml:18:9-35 value=(true). Suggestion: add 'tools:replace="android:allowBackup"' to element at AndroidManifest.xml:5:3-154 to override.
If I add 'tools:replace="android:allowBackup"' in the xml file mentioned in the error, then it doesn't take any effect as all the .xml files in Temp folder are regenerated and the added attribute is removed. There is no manifest file in Assets/Plugins/Android folder. If I paste the xml file mentioned in the error in the Assets/Plugins/Android folder, add 'tools:replace="android:allowBackup" in it, and then do "Build and Run", then I get this issue:
DeploymentOperationFailedException: No activity in the manifest with action MAIN and category LAUNCHER. Try launching the application manually on the device.
How do I resolve this issue?
Your answer
Follow this Question
Related Questions
How to suppress system bars on Android? 2 Answers
[SOLVED] Unable to merge android manifests error while trying to build a Gear VR project 1 Answer
Android build - videoplayer - cannot read .mp4 file 1 Answer
Using URL as Source In Video Player on Portable VR 1 Answer
Is it possible to publish Daydream app with Unity 5.5.4 0 Answers