- Home /
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
Unity Ver: Unity 2019.4.10f1
CloudOnce Ver: v2.7.1
Min Api Level: Android 4.4 'KitKat' (API Level 19)
Target Api Level: API Level 30
Target Architectures: ARMv7 and ARM64
Answer by AlexandreSerre · Oct 09, 2020 at 09:31 PM
Hi N8Squared,
Just had the exact same issue (and found your post). After some research, I've found the following answers: https://answers.unity.com/questions/1745738/android-sdk-not-found-or-invalid-in-unity.html and https://answers.unity.com/questions/1684441/android-sdk-not-found-error-in-unity-201930f1.html
Please follow the instructions:
Download Android Studio (with SDK Manager) https://developer.android.com/studio
List item
Run SDK manager
Download SDK to specific folder
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
In CloudOnce settings: "Run Setup" and Save configuration
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!
I just logged in just so I can upvote your comment! saved me so much time! Ive been searching for hours been through 100s of threads trying different solutions which ultimately caused even more problems lol, yours took 2 $$anonymous$$ and it worked. much love!
Your answer
Follow this Question
Related Questions
[ERROR ][Android Build] [5.3.4] Not able to build 1 Answer
Android - Building Beta Problems. 0 Answers
Problem creating/installing apk with google cardboard sdk 3 Answers
Not detecting touch in android device if Gradle build system with Build app bundle (Google play) 0 Answers
Android - Error building Player: CommandInvokationFailure: Failed to re-package resources 3 Answers