How can i add facebook SDK to android project?

后端 未结 4 702
野趣味
野趣味 2020-12-16 02:07

I\'m trying to add facebook SDK to android project but I\'m unable to add it, I couldn\'t do it. My project has one package and there are 8-10 packages in it so where can I

4条回答
  •  猫巷女王i
    2020-12-16 02:10

    Following are the steps to include Facebook SDK into android project:

    1) Download the Facebook SDK from the https://github.com/facebook/facebook-android-sdk/ and extract it to local drive.

    2) Import "facebook" as a android project into your Eclipse, this is your Facebook SDK, and You have to reference it to your android project.

    3) Now create your android project.

    4) Right click on it, go to Properties-->android and Add the "facebook "Library as a reference to your project. click Apply.

    Check the video link: http://www.youtube.com/watch?v=w-vNi1W4fco

    For more details visit : https://developers.facebook.com/docs/getting-started/facebook-sdk-for-android/3.0/

提交回复
热议问题