Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The container 'Android Dependencies' references non existing library 'facebook-android-sdk\facebook\bin\com_facebook_android.jar'

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.

like image 634
user983965 Avatar asked Apr 20 '12 14:04

user983965


3 Answers

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.

like image 169
georgiecasey Avatar answered Oct 14 '22 04:10

georgiecasey


Try this way

how to make Library

like image 24
ValayPatel Avatar answered Oct 14 '22 05:10

ValayPatel


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.

like image 37
Zer0 Avatar answered Oct 14 '22 04:10

Zer0