facebook SDK doesn't work in android - android

I am trying to integrate facebook SDK into my android project.
I've extracted the facebook sdk and imported into eclipse.
So in order to use the sdk I had set up a new android project with the setting
of minSDK->8 and build target of 4.4. The problem is that when I add the facebook sdk into my
android project's library the sdk is not added. If it was added, there should be a check mark instead of X.
I read through the facebook developers instruction but it doesn't work.I would be glad if you can help me out.

make sure that the SDK folder and your project folder are in same location

Related

android Facebook SDK 4.18.0 for eclipse

I am using eclipse. I need facebook sdk integration in my app. Current android sdk version is 20. Please give me any suggestions.
First of all you should go with Android Studio but if you want to integrate FB from eclipse then go with Click here!

Add Facebook SDK to android eclipse

I am trying to add the facebook sdk to my android project in eclipse. I have tried a lot of toturial that I found in the interne but none hase worked for me.
doese someone now houe to add the sdk to android eclips projetcs?
I gess you are triyng to add facebook sdk to a legacy code so you can check
Android facebook SDK as JAR
else i recommend using android studio.

Can't select Facebook SDK as a Library

I'm using phonegap/cordova on eclipse to build my app. I'm also trying to use the facebook sdk. I downloaded the android SDK and imported the facebook folder correctly. I'm receiving 300+ errors and I know it is because it is not linked. I right-clicked my main project -> Android -> but facebook is not being listed as an option.
How do I link Facebook SDK to my project?
Why don't you want to use facebook js sdk and include it in your web app. Then whether you build your app for ios or android it will still work.
https://developers.facebook.com/docs/javascript
Or
http://phonegap.com/blog/2013/04/18/pg-facebook-plugin/

Is it possible to re-use sdk originally used by Eclipse ADT in Android Studio?

I found posts that indicate that the sdk used by Android Studio can also be used by Eclipse ADT.
Can Eclipse use the same sdk that Android Studio (intelliJ)?
Is it possible for the sdk used originally by Eclipse ADT to be used by Android Studio?
I already have an up to date SDK which I use with Eclipse ADT.
I recently downloaded Android Studio.
Was wondering if I could use the pre-existing SDK that I used with Eclipse ADT,instead of downloading it all over again for Android Studio.
Yes absolutely you can. The SDK is independent of the IDE you are using.
I will explain you the steps to do it.
1) You need have the SDK so that it can be commonly used by both the IDEs.
Let say you want to put your new SDK at the following location: /Users/Name/sdk.
You can also use the SDK that came up with Eclipse or download a new one if you want (it's not necessary at all).
2) Android Studio can automatically find the location of your SDK, but you need to manually point it out if it can not.
You may also need to specify the SDK location for your project. In your Android studio project, go to File -> Project Structure -> Android SDK, and point to your new sdk folder location.
Remember to restart Android studio after this.
For example your SDK folder is at the D:\Android\SDK
Link SDK in your Android Studio, go to File->Project Structure->Android SDK and point the D:\Android\SDK in Android SDK location.
Restart Android Studio

Android: using Facebook sdk with android 2.2

I have an Android 2.2 project that I need to use the facebook api in it.
after adding the facebook sdk project and adding the the facebook project library to my android 2.2 app libraries, nothing happens and when I go to my app properties->android-> i found that the facebook libary project has a red X mark beside it.
is it a problem caused by different versions ?
thanks
Ok I got the answer from here
In eclipse, unable to reference an android library project in another android project
I had to put the facebook api library project in the same workspace of my app project

Categories

Resources