Reputation: 422
Am successfully created the application in facebook and got the application ID
compile 'com.facebook.android:facebook-android-sdk:4.7.0'
and i compile this for android SDK, Main problem am facing is FaceBook class is not including showing cannot resolve symbol 'Facebook'
any one can help me how to include android SDK, and with simple program.
Upvotes: 0
Views: 141
Reputation: 1349
I think facebook class is changed to the new facebook SDK. You can visit to this link... https://developers.facebook.com/docs/reference/android/3.0/class/Facebook/
and you will show the message as 'This class is no longer available in the most recent version of the SDK'.
Delete Facebook class and try to integrate SDK using facebook guideline https://developers.facebook.com/docs/android/getting-started/
Upvotes: 1
Reputation: 617
current facebook sdk version add it in the app gradle and synchr
compile 'com.facebook.android:facebook-android-sdk:4.10.0'
Upvotes: 1
Reputation: 605
Have a look at the Facebook Developer information, e.g. the Login button, found here: https://developers.facebook.com/docs/facebook-login/android
This should help you out.
Upvotes: 1