简体   繁体   中英

Importing Facebook SDK into my android project

I know there are lots of questions and articles about how to integrate android facebook sdk into an existing project. I have tried some of the methods they have but with no success.

I have imported the facebook (sdk folder) into a new project and have the resulting src, res folders in a separate project. I am still not sure how to integrate that with my already existing project.

I know I cannot simply copy and paste the java files into my project because there will be errors linking resources and other .java files as the package names and destinations will change.

What is the simplest way to do this?

Thanks.

Import the FB SDK to your workspace. Then open the properties dialog of your project. Click the add button at the bottom of the dialog. Choose the FB SDK you have imported. Click Apply and Ok.

Look that (Spanish blog, you can translate)

http://fpalero.tk/facebook-sdk-para-android/

If you dont understand say me and i translate for you and explain all steps.

But it's easy, when you import sdk facebook only delete libs/“android-support-v4.jar” on your project and changes by the libs folder of sdk facebook.

请参阅facebook开发人员网站以获取完整的详细信息,并下载适用于任何平台的Facebook SDK facebook sdk下载和集成到项目的sdk以及与意图的使者交互

Right click on your project in project explorer window >> Properties >> Andoird >> In the dialog poped >> click on Add >> Select the FB library >> Click ok

Facebook sdk will be added to your project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM