java.lang.RuntimeException: Unable to get provider com.facebook.FacebookContentProvider: java.lang.ClassNotFoundException: Didn’t find class “com.facebook.FacebookContentProvider”
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 sample
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/
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.
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 .
- download online installer Eclipse Downloads | The Eclipse Foundation
- open the installer
- upgrade the installer
- choose “Eclipse for Android”
- wait finish
- 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,