Does sdkbox facebook support for eclipse adt?

Does sdkbox facebook support for eclipse adt?
0.0 0

#1

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


#2

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

@yinjimmy can you look into this?


#3

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

#4

the sampleimage


#5

crash or something happen ?


#6

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


#7

manual-integration ?

plz check project.properties:

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

#8

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


#9

the sample


#10

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


#11

i use cocos2dx-3.2 android-19 ndk-r9d


#12

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


#13

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


#14

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


#15

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


#16

It’s ok .

  1. download online installer http://www.eclipse.org/downloads/
  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


#17

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


#18

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

i put the “sdkbox_config.json” into assets Folder


#19

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

cocos run -p android
cocos deploy ...

#20

The project structure has been changed,