无法统一合并androidmanifest.xml

时间:2018-09-20 18:30:58

标签: android unity3d android-manifest

在将Firebase SDK导入到应用程序并使用其功能之前,该应用程序运行良好。

这是我的控制台中的错误消息。

CommandInvokationFailure: Unable to merge android manifests. 
E:/AndroidStudio/jre\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="E:/AndroidStudioSDK\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -

stderr[
Error: [tmp36ff6e72.tmp] Failed to write XML file: javax.xml.transform.TransformerException: java.io.FileNotFoundException: C:\Users (Access is denied)
Error: [C:\Users\#IAMHA~1\AppData\Local\Temp\tmp36ff6e72.tmp] Failed to write manifest file.
]
stdout[

]
exit code: 1
UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
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.BuildPlayerWindow:BuildPlayerAndRun()

点击生成并运行后,在合并android清单时会停止并向我发送错误:无法合并android清单。查看控制台...

0 个答案:

没有答案