JAR import setup

I am trying to connect app with FB,but there are so many different between TADP and Eclipse,
https://developers.facebook.com/docs/android/getting-started
I have copy FB sdk src into my project under src/com
but there are a lots error message(class R not found,class BuildConfig not found…),so I am wondering to know have any fast way to import JAR file?

I have add the jar file at

Right click on the project->Properties->Ant Build->Additional Depender
add directory at JAR Directories
add files at JAR Dependencies(filename.jar)
and also put files into folder libs.

but in the java it still can’t see the package I try to import
is this right way to import JAR files?

hi FatmingWang2,
you did right. what do you mean can’t see the package? compile fail or link fail?

victor