Facebook FB.Init() Fail for Android Unity

前端 未结 1 1501
北恋
北恋 2020-12-12 02:55

I am using Unity 4.1.2 I have downloaded the latest Facebook SDK for Android package for unity from the developer\'s site. The package file name is \"FacebookSDK-140401.uni

相关标签:
1条回答
  • 2020-12-12 03:17

    I faced same problem, working fine in unity editor, but not working in android phone. I was using game analytics sdk also, so I got two support-version in my Assets folder:

    • 1st one in Assets\Plugins\Android\support-v4-24.2.0
    • 2nd one in Assets\FacebookSDK\Plugins\Android\libs\support-v4-23.4.0

    As not support more than one support-version, I deleted 2nd one.

    For me it was the problem, FB.Init() was not working in phone.

    When I delete First one and keep the 2nd one, Its worked!!!

    0 讨论(0)
提交回复
热议问题