• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Andrea_Marchetti · May 27, 2017 at 02:30 PM · unity 5facebooksdkeditorguilayout

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: alt text

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()


screen-shot-2017-05-25-at-143653.png (29.0 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

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.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

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

After Update FB SDK 7.3.0, FBlogin() is not working. It is showing error dialog. 0 Answers

Game Analytics & Facebook sdk android build error 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges