Cloud Once Causes \Temp\StagingArea\android-libraries\GooglePlayGamesManifest.plugin' is missing AndroidManifest.xml file. error

I’ve been trying to use cloud once for weeks but when I build the game I repeatedly get this error


Project ‘D:\Unity Projects\CloudOnceTest\Temp\StagingArea\android-libraries\GooglePlayGamesManifest.plugin’ is missing AndroidManifest.xml file. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


and this error


UnityException: Adding Android library projects failed! UnityEditor.Android.AndroidLibraries.AddLibraryProject (System.String projectPropertiesPath) (at :0) UnityEditor.Android.AndroidLibraries.FindAndAddLibraryProjects (System.String searchPattern) (at :0) UnityEditor.Android.PostProcessor.Tasks.AddAndroidLibraries.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0) UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at :0) UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at :0) UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at :0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


I can’t figure out why. I literally started a new project, added the latest version of CloudOnce, and built it, it gave me the 2 errors. Please, someone, help me


Hi N8Squared,

Just had the exact same issue (and found your post). After some research, I’ve found the following answers: Android SDK not found or invalid in unity. - Questions & Answers - Unity Discussions and Android SDK not found error in Unity 2019.3.0f1 - Questions & Answers - Unity Discussions

Please follow the instructions:

  1. Download Android Studio (with SDK Manager) Download Android Studio & App Tools - Android Developers
  2. List item
  3. Run SDK manager
  4. Download SDK to specific folder
  5. Uncheck “Android SDK Tools installed with Unity” in external tools dialog box and specify (in external tools dialog box) the specific folder where SDK is installed
  6. In CloudOnce settings: “Run Setup” and Save configuration
  7. Ensure your Target SDK is installed (https://forum.unity.com/threads/still-target-android-sdk-of-24-not-installed-after-it-had-been-installed-by-android-studio-setting.534821/)

Then you should be able Build your project. Let us know if it works for you too!