Problems with facebook-android-sdk - android

I am following this tutorial: https://developers.facebook.com/docs/android/getting-started but after importing the samples I get many errors. I had to install other version of eclipse and two different version of the facebook-android-sdk since version 3.15.0 did not have the bin folder to install the Facebook app on the emulator. The errors I get are the following: (note that adt-bundle-windows-x86-20131030\sdk\ was the eclipse previous version, I had to install a new one since the old one was not working properly anymore).
Description Resource Path Location Type
The project cannot be built until build path errors are resolved SwitchUserSample Unknown Java Problem
The project cannot be built until build path errors are resolved GraphApiSample Unknown Java Problem
The container 'Android Dependencies' references non existing library 'C:\Users\USER\Desarrollo\adt-bundle-windows-x86-20131030\sdk\tools\support\annotations.jar' FacebookSDK Build path Build Path Problem
The container 'Android Dependencies' references non existing library 'C:\Users\USER\Dropbox\PruebaTandem\facebook-android-sdk- 3.14.1\facebook\bin\facebooksdk.jar' HelloFacebookSample Build path Build Path Problem
The project cannot be built until build path errors are resolved RPSSample Unknown Java Problem
The project cannot be built until build path errors are resolved Scrumptious Unknown Java Problem
The container 'Android Dependencies' references non existing library 'C:\Users\USER\Dropbox\PruebaTandem\facebook-android-sdk-3.14.1\facebook\bin\facebooksdk.jar' GraphApiSample Build path Build Path Problem
The container 'Android Dependencies' references non existing library 'C:\Users\USER\Dropbox\PruebaTandem\facebook-android-sdk-3.14.1\facebook\bin\facebooksdk.jar' Scrumptious Build path Build Path Problem
The project cannot be built until build path errors are resolved ProfilePictureSample Unknown Java Problem
The container 'Android Dependencies' references non existing library 'C:\Users\USER\Dropbox\PruebaTandem\facebook-android-sdk-3.14.1\facebook\bin\facebooksdk.jar' RPSSample Build path Build Path Problem
The project cannot be built until build path errors are resolved SessionLoginSample Unknown Java Problem
The project cannot be built until build path errors are resolved PlacePickerSample Unknown Java Problem
The project cannot be built until build path errors are resolved NativeAdSample Unknown Java Problem
The container 'Android Dependencies' references non existing library 'C:\Users\USER\Dropbox\PruebaTandem\facebook-android-sdk-3.14.1\facebook\bin\facebooksdk.jar' PlacePickerSample Build path Build Path Problem
The container 'Android Dependencies' references non existing library 'C:\Users\USER\Dropbox\PruebaTandem\facebook-android-sdk-3.14.1\facebook\bin\facebooksdk.jar' ProfilePictureSample Build path Build Path Problem
The project cannot be built until build path errors are resolved AdUnitsSample Unknown Java Problem
The project cannot be built until build path errors are resolved HelloFacebookSample Unknown Java Problem
The container 'Android Dependencies' references non existing library 'C:\Users\USER\Desarrollo\adt-bundle-windows-x86-20131030\sdk\tools\support\annotations.jar' NativeAdSample Build path Build Path Problem
The container 'Android Dependencies' references non existing library 'C:\Users\USER\Dropbox\PruebaTandem\facebook-android-sdk-3.14.1\facebook\bin\facebooksdk.jar' FriendPickerSample Build path Build Path Problem
The container 'Android Dependencies' references non existing library 'C:\Users\USER\Desarrollo\adt-bundle-windows-x86-20131030\sdk\tools\support\annotations.jar' AdUnitsSample Build path Build Path Problem
The container 'Android Dependencies' references non existing library 'C:\Users\USER\Dropbox\PruebaTandem\facebook-android-sdk-3.14.1\facebook\bin\facebooksdk.jar' SessionLoginSample Build path Build Path Problem
The container 'Android Dependencies' references non existing library 'C:\Users\USER\Dropbox\PruebaTandem\facebook-android-sdk-3.14.1\facebook\bin\facebooksdk.jar' SwitchUserSample Build path Build Path Problem
The project cannot be built until build path errors are resolved FacebookSDK Unknown Java Problem
The project cannot be built until build path errors are resolved FriendPickerSample Unknown Java Problem
Thanks!

I also had this problem and solved it as follows:
Go to android-sdk\extras\android\support\annotations and copy android-support-annotations.jar and paste it in android-sdk\tools\support.
Rename to annotations
Just close all sample projects that is referencing FacebookSDK, clean and build FacebookSDK, facebooksdk.jar will be created.

Related

Android Twitter fabric library error

I have integrated twitter fabric sdk in android project. It has 5 libraries imported in workspace with project. It was working fine. I have removed the project from workspace and import it again, now all libraries showing error and after run Clean+build project command it is not solving.
error message:
The project cannot be built until build path errors are resolved MicroSoftTechEd Unknown Java Problem
The container 'Android Dependencies' references non existing library 'D:\Microsoftteched_data\MicroSoftTechEd\kit-libs\io-fabric-sdk-android_fabric\bin\io-fabric-sdk-android_fabric.jar' com-twitter-sdk-android_twitter-core Build path Build Path Problem
The container 'Android Dependencies' references non existing library 'D:\Microsoftteched_data\MicroSoftTechEd\kit-libs\com-twitter-sdk-android_twitter-core\bin\com-twitter-sdk-android_twitter-core.jar' com-twitter-sdk-android_tweet-ui Build path Build Path Problem
The container 'Android Dependencies' references non existing library 'D:\Microsoftteched_data\MicroSoftTechEd\kit-libs\io-fabric-sdk-android_fabric\bin\io-fabric-sdk-android_fabric.jar' com-twitter-sdk-android_tweet-composer Build path Build Path Problem
The container 'Android Dependencies' references non existing library 'D:\Microsoftteched_data\MicroSoftTechEd\kit-libs\com-twitter-sdk-android_twitter\bin\com-twitter-sdk-android_twitter.jar' MicroSoftTechEd Build path Build Path Problem
The project cannot be built until build path errors are resolved com-digits-sdk-android_digits Unknown Java Problem
The container 'Android Dependencies' references non existing library 'D:\Microsoftteched_data\MicroSoftTechEd\kit-libs\com-twitter-sdk-android_twitter-core\bin\com-twitter-sdk-android_twitter-core.jar' com-digits-sdk-android_digits Build path Build Path Problem
The container 'Android Dependencies' references non existing library 'D:\Microsoftteched_data\MicroSoftTechEd\kit-libs\com-digits-sdk-android_digits\bin\com-digits-sdk-android_digits.jar' com-twitter-sdk-android_twitter Build path Build Path Problem
solution required.
Thanks in advance

eclipse android app error 'Android Dependencies'

I have this error in my first android project
it sats
[The container 'Android Dependencies' references non existing library 'E:\project workspace\appcompat_v7\bin\appcompat_v7.jar' TheSmartHome Build path Build Path Problem]
Go to Project->Build Automatically and enable it.
Go to: Project > Clean > Clean all projects.
right-click the .jar files (there will be two files select android-support-v4.jar) and then select Build Path > Add to Build Path.
also try The container 'Android Dependencies' references non existing library 'facebook-android-sdk\facebook\bin\com_facebook_android.jar'

Description of Errors occured in creating the Android Application

i am installing Android Api 19 but when i create the Android appliction this generates the follwing errors. Android is installad on windows 7.plz help me solving these errors of "Build path" i have updated the tools but these errors still occuring.
Description Resource Path Location Type
The container 'Android Dependencies' references non existing library 'D:\adt-bundle-windows-x86-20140702\Workspace\appcompat_v7\bin\appcompat_v7.jar' Test Build path Build Path Problem
Description Resource Path Location Type
The project cannot be built until build path errors are resolved Test Unknown Java Problem

Cant resolve org.jsoup.Jsoup after adding jsoup.jar in android eclipse

I tried my best to make jsoup working but no luck
i am using Eclipse development tool for android
I created new project and went to build path > Configure build path
in Java build path --- Libraries section, added the external jar
But when I use
import org.jsoup.*
eclipse is showing error org.jsoup cant be resolved
I am a passionate coder and this is losing my happiness for last 2 days
Please help
I created new project and went to build path > Configure build path in Java build path --- Libraries section, added the external jar
That is not how to add JARs in Android. Undo that, then copy the JAR into your project's libs/ directory. That will automatically add it to both your build path and the app itself, so it is available at runtime.

Build Path Problems

When i bulid the android program, i found these errors happening. Can ayone help me fix this?
The container 'Android Dependencies' references non existing library '/home/harikrishnan/project/For_Jms/Common/AppCommon/bin/appcommon.jar' GenericTransport Build path Build Path Problem
The container 'Android Dependencies' references non existing library
'/home/harikrishnan/project/For_Jms/Common/AppCommon/bin/appcommon.jar'
App can't find your appcommon.jar, probably you added incorrect path to your .jar file.
Check your path at first if is right.

Categories

Resources