I am trying to use the facebook sdk within my project, however keep receiving the following error:
The container 'Android Dependencies' references non existing library 'facebook-android-sdk\facebook\bin\com_facebook_android.jar'
Has anyone experienced/resolved this problem?
Thanks
The errors are shown below:
The container 'Android Dependencies' references non existing library
'C:\Users\Mandip\facebook-android-sdk\facebook\bin\com_facebook_android.jar'
The method onClick(View) of type new View.OnClickListener(){} must
override a superclass
method FbDialog.java /com_facebook_android/src/com/facebook/android line
101 Java Problem
The method onServiceConnected(ComponentName, IBinder) of type
Facebook.TokenRefreshServiceConnection must override a superclass
method Facebook.java /com_facebook_android/src/com/facebook/android line
575
The method onServiceDisconnected(ComponentName) of type
Facebook.TokenRefreshServiceConnection must override a superclass
method Facebook.java /com_facebook_android/src/com/facebook/android line
581
The project cannot be built until build path errors are resolved.
Is there a bin folder in the com_facebook_android project? If not, the Facebook SDK wasn't built. Go to Project->Build Automatically and enable it.
Try this way
For anyone who does come across this:
Go to: Project > Clean > Clean all projects.
This might not always work but for me whenever there is some kind of dependency error, during the project load (after creating a new project) I just do this and surprisingly it works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With