How to integrate Facebook in Cocos2d-JS on Android and IOS?

I am following the link https://github.com/chukong/cocos-docs/blob/master/manual/framework/html5/facebook-sdk/facebook-sdk-on-android/en.md.

It give me the error
package org.cocos2dx.plugin does not exist.
java: cannot find symbol
symbol: variable PluginWrapper
location: class org.cocos2dx.javascript.AppActivity

Thank you

If you’re using Cocos2D v3.7, you may have to use the new SDKBOX Facebook plugin. I think it’s even easier to install. If you’re using an older version, you can still use this new plugin, AFAIK.

1 Like