- Home /
Facebook SDK missing AndroidManifest.xml and I can't generate it
I can't understand why there must be so many problems with any plugin I am trying to implement. I am talking about Facebook SDK or Google Play Services; not sh*t... Shouldn't packages just work? I am curious to know. I am not just complaining.
Anyway, I am trying to implement Facebook SDK. Everything is fine in Unity. When I try to build it for Android I get this error several times:
An android manifest must be generated for the Facebook SDK to work. Go to Facebook->Edit Settings and press "Regenerate Android Manifest"
UnityEditor.HostView:OnGUI()
FileNotFoundException: /Applications/Unity/Unity.app/Contents/PlaybackEngines/AndroidPlayer/Apk/AndroidManifest.xml does not exist
// and other stuff...
So I go to my Facebook->Edit Settings and when I press on "Regenerate Android Manifest" I don't think it does something. If I press "Build SDK package" I get this error:
I also have error which are concerned about the GUILayout of some labels.... Don't know if it does matter...
Style.Draw may not be called with GUIContent that is null.
UnityEditor.EditorGUILayout:LabelField(GUIContent, GUILayoutOption[])
Facebook.Unity.Editor.FacebookSettingsEditor:AppIdGUI() (at Assets/Facebook/Editor/FacebookSettingsEditor.cs:84)
Facebook.Unity.Editor.FacebookSettingsEditor:OnInspectorGUI() (at Assets/Facebook/Editor/FacebookSettingsEditor.cs:59)
UnityEditor.DockArea:OnGUI()
Answer by Andrea_Marchetti · May 29, 2017 at 06:36 AM
I resolved by installing the last version of the SDK. I thought I had the last already.
Your answer
Follow this Question
Related Questions
How to get a public profile permission facebook sdk 0 Answers
How to enable the application events (sdk facebook). 0 Answers
Gradle Build Failed. Android resource linking failed. 2 Answers
Facebook Login and Logout problem 1 Answer
Unity Facebook SDK "failed to compile resources with the following parameters" 1 Answer