Unity 5.6.2.1f Android Build Error
Hi,
I am using Unity for Windows and I am getting the following 2 errors.
[Temp\StagingArea\AndroidManifest-main.xml:58, C:\Users\Danish Sinha\Documents\turny-road\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\AndroidManifest.xml:6] Trying to merge incompatible /manifest/application/activity[@name=com.facebook.FacebookActivity] element:
UnityEditor.HostView:OnGUI()
CommandInvokationFailure: Unable to merge android manifests. See the Console for more details. C:/Program Files/Java/jdk1.8.0_121\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:\Users\Danish Sinha\AppData\Local\Android\Sdk\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -
stderr[ Error: [Temp\StagingArea\AndroidManifest-main.xml:58, C:\Users\Danish Sinha\Documents\turny-road\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\AndroidManifest.xml:6] Trying to merge incompatible /manifest/application/activity[@name=com.facebook.FacebookActivity] element:
] stdout[ [Temp\StagingArea\AndroidManifest-main.xml:61, C:\Users\Danish Sinha\Documents\turny-road\Temp\StagingArea\android-libraries\play-services-ads-lite\AndroidManifest.xml:10] Skipping identical /manifest/application/activity[@name=com.google.android.gms.ads.AdActivity] element. [Temp\StagingArea\AndroidManifest-main.xml:7, C:\Users\Danish Sinha\Documents\turny-road\Temp\StagingArea\android-libraries\play-services-basement\AndroidManifest.xml:5] Skipping identical /manifest/application/meta-data[@name=com.google.android.gms.version] element. ] exit code: 1 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()
Your answer
Follow this Question
Related Questions
Build error for gear vr app involving manifest 4 Answers
Unable to merge Android manifests. (5.6.0p3) 2 Answers
Build Error from Android Manifest 0 Answers
help with build error 0 Answers
Android Unable to merge manifest Error 2 Answers