Manifest merger failed with multiple errors in unity 2019.4.11f1 - unity3d

I was trying to make some ar and i was watching the videos on youtube how to do that and i followed along.But at last it showed me some errors.
I am putting some screenshot so that you can tell what's wrong i am doing...
Thanks in advance for helping me..
THESE ARE THE PACKAGES THAT I HAVE INSTALLED IN FOR THIS AR
AR FOUNDATION - 2.1.10
2 AR CORE -2.1.12
3 AR KIT - 2.1.10

Having the same problem as well. Android APK compiles fine before adding AR packages. Added AR Foundation 2.1.10, AR Subsystems 2.1.3 and ARCore XR Plugin 2.1.12 (All 2019.4 verified). Android API set to 24, Vulkan removed, but fails at this point.
Build Failure Message
Turns out that it's an issue with Gradle, you need to use Gradle 5.6.4 and follow the instructions here for Unity 2019.4 https://developers.google.com/ar/develop/unity/android-11-build

I ran into problems with this Unity version too. I found no fix for this Unity version, but I tried the 2020.1.10f1 version and there it all worked perfectly fine for me.

Related

multiple versions of gradle plugin when building in unity

I am using the skillz sdk to develop a quiz game which requires gradle. My current version of unity is 2019.3.0.a5. When I build the project I get the following errors.
> Failed to apply plugin [id 'com.android.library']
> Using multiple versions of the Android Gradle plugin in the same build is
not allowed.
'C:\Users\Zachary Edgell\cash quiz\Temp\gradleOut\launcher' is using
version 3.2.0
'C:\Users\Zachary Edgell\cash quiz\Temp\gradleOut\unityLibrary' is
using version 3.2.1
I have attempted to down grade to unity 2019.1.8f1when I try to build again I get the error
FileNotFoundException: Temp\gradleOut\build\outputs\apk\release\gradleOut-release.apk does not exist
When I try to do a development build on 2019.1.8f1 I get the following error
FileNotFoundException:Temp\gradleOut\build\outputs\apk\release\gradleOut-debug.apk does not exist
I have also attempted to delete the temp folder and rebuild but I get the same error.
The problem was solved by downgrading to unity 2018.4.3f1 if any one is having this issue just back up your files then try to downgrade to unity 2018.4.3f1

Playscape Unity Publishing Kit Error

I am integrating Playscape 1.11 SDK to my game in unity. I keep getting an error stating: An error occurred while applying post-build logic: failed to apply patch to the .jar file
I have checked to see if Android 19 and google-play-services are downloaded/installed in the SDK.
Looks like some files were missed. Check that you have removed all previous files of Playscape SDK before importing new version into your Unity project:
/Assets/Plugins/Android/PlayscapeManifestFragments
/Assets/Plugins/Android/PlayscapePublishingKit
/Assets/Plugins/Playscape
/Assets/Temp
/Assets/StreamingAssets/fonts
/Assets/StreamingAssets/level_up_icons
/Assets/StreamingAssets/playscape
/Assets/StreamingAssets/playscape_bootstrap
/Assets/StreamingAssets/WelcomeMessage

Facebook Unity SDK and Unity 4.3 have a conflicting instance method 'openURL' on iOS

I had Facebook Unity SDK working in my game prototype until I updated to Unity 4.3. After the update build fails on dSYM generation in xCode. Error message:
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil failed with exit code 11
Most notably before the final error message above I get this warning:
ld: warning: instance method 'application:openURL:sourceApplication:annotation:' in category from /Users//Library/Developer/Xcode/DerivedData/Unity-iPhone-duxgtdhujpdgtjbanfxzqinkvybw/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/FbUnityInterface.o overrides method from class in /Users//Library/Developer/Xcode/DerivedData/Unity-iPhone-duxgtdhujpdgtjbanfxzqinkvybw/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/UnityAppController.o
I investigated this a bit and yes, it seems that both UnityAppController.mm and FbUnityInterface.mm define "openURL" method and that's what xCode doesn't like. I also checked the iOS build that I had worked with on earlier (4.2.x) Unity version and in that build Unity did not define openURL-method in any of its .mm files.
Version Info:
Facebook Unity SDK Version 4.3.4
Unity Editor Version 4.3 (Pro)
Xcode 5.0.2
Changes vs Unity xCode project default configuration:
Added the frameworks that AdMob requires
Added linker flag "-ObjC" that AdMob requires (Build Settings -> Other Linker Flags)
I tested linking without the "-ObjC" flag also. Result is the same. Any ideas on how to fix this?
-tomi
I ran into the same problem but only building with debugging enabled in Build Options. Turn off debugging and you get past it. Or, BuildOptions.None in your build pipeline.
Of course, no debugging ...
We just released version 4.3.6 of the sdk that fixes login with unity version 4.3. It's available at https://developers.facebook.com/

loadandverifyassembly error in Facebook script

I recently downloaded the latest FB SDK for unity and imported the asset package in my demo game project in unity ver. 4.0(windows)
As soon as i import all the files i face some errors in FB.cs script file .
Kindly let me know how to eradicate these following errors :
-> UnityEngine.Security does not contain a definition for LoadAndVerifyAssembly
in the line
var assembly = Security.LoadAndVerifyAssembly(www.bytes);
Ahh...the problem was unity itself..
I was using unity version 4.0 but the new Facebook SDK for unity has to have unity 4.1 + !!!

Phonegap 2.7 iPhone Torch fail

I need a torch on my phonegap project (Cordova 2.7.0, xcode 4.6.2), but I cannot activate it on iPhone. I've tested 2 solutions:
The shazron plugin, but it refuses to compile with a lot of errors, even using it's javacript upgrade (include in next solution)
Tom Schreck's upgrade. It did't throw any error, but it fails too. I've tested it on older versions of phonegap, such 2.2.0 with same results.
Any suggestion??
Thanks!
The Tom's solution has erros in the demo file. At least, to toggle the torch you can use window.plugins.torch.toggle(); but it only works in Cordova 2.2.0. ¿Any update for Cordova 2.7.0?