Does sdkbox facebook support for eclipse adt?

java.lang.RuntimeException: Unable to get provider com.facebook.FacebookContentProvider: java.lang.ClassNotFoundException: Didn’t find class “com.facebook.FacebookContentProvider”

We did spent a lot of time to make sure it supports ADT.

@yinjimmy can you look into this?

Whats your steps?

SDKBox Facebook plugin support eclipse totally.

$ ls facebook_lib/libs/
bolts-android-1.1.2.jar     facebook-android-4.20.0.jar

the sampleimage

crash or something happen ?

crash,and error report
java.lang.RuntimeException: Unable to get provider com.facebook.FacebookContentProvider: java.lang.ClassNotFoundException: Didn’t find class “com.facebook.FacebookContentProvider”

manual-integration ?

plz check project.properties:

android.library.reference.1=libs/facebook_lib/

u can check our example here https://github.com/sdkbox/sdkbox-sample-facebook/

the sample

i checking with cocos compile -p android, for eclipse IDE, need to readd the reference.

i use cocos2dx-3.2 android-19 ndk-r9d

cocos compile -p android is ok. BUT the eclipse IDE, need to do some dig.

setting up a new eclipse IDE, my old eclipse can not launch on macOS 10.13.

Can sdkbox and anysdk coexist? I use anysdk for Google login, and then I want to use sdkbox for Facebook login.

I think YES… so what about cocos compile -p android ?? it’s ok ?

It’s ok .

  1. download online installer Eclipse Downloads | The Eclipse Foundation
  2. open the installer
  3. upgrade the installer
  4. choose “Eclipse for Android”
  5. wait finish
  6. import the cpp example

I think you downloaded the “Eclipse for JAVA developer”.

plz download the “Eclipse for Android developer”.

Thanks

very a big thx, it works!

but now something error “Facebook plugin haven’t been initialized.” when i
sdkbox.PluginFacebook:init()
sdkbox.PluginFacebook:login()

cocos2dx-lua version

ok,i got it !.,thx again!!!

i put the “sdkbox_config.json” into assets Folder

Why not use cocos command, it should save your life time.

cocos run -p android
cocos deploy ...

The project structure has been changed,