I'm trying to reference the Facebook SDK to my existing Android project. I've been going through the given tutorial in the Facebook site. So here's what I've done:
But I don't see in the popping dialog anything, it's just blank, no SDK.
What am I missing here?
Here's the workspace folder, and the Facebook SDK folder is located in it:
And here's the Android Properties. As you can see there's no Facebook SDK there. It's just blank:
So here's what you've done:
- Copied the Facebook SDK folder to my workspace.
- Went to Project -> Properties -> Android
- Set the "Is Library" radio button to true and pressed on the "ADD" button.
Well, you are not supposed to do the Steps 2 and 3. The Facebook SDK is already coded to be a library project and you just need a reference to it in your existing application. Hence, the ADD button should be pressed in the existing project and it should reference the Facebook SDK.
Here is what you need to do :
Go the website and get the contents by using git or just zip everything using the ZIP button
Put the Facebook SDK folder in your workspace (no need to select it "Is Library" )
Select Facebook SDK there
You are good to go!