title: Facebook SDK v.4 for Android: errors on Eclipse
body: <p>I am trying to import the latest version (4.0.1) of the Facebook Android SDK into eclipse but I am facing issues in having the project being properly built and imported as a Library.</p>
  
  <p>I followed the steps (for android studio, ported to Eclipse) provided in the official guide and looked through Google for other developers having the same problems as I am having but I am still not able to have it properly working.</p>
  
  <p>Here are the steps I do:</p>
  
  <ol>
  <li><p>Download the Facebook SDK for android from here: <a href="https://developers.facebook.com/resources/facebook-android-sdk-current.zip" rel="nofollow">https://developers.facebook.com/resources/facebook-android-sdk-current.zip</a></p></li>
  <li><p>Extract the projects</p></li>
  <li><p>In Eclipse, import existing Android code into workspace</p></li>
  <li><p>Select the folder "facebook" and choose the only project that is shown (the project is properly imported)</p></li>
  <li><p>Right click on "facebook" project, properties, android and check "isLibrary"</p></li>
  <li><p>clean project</p></li>
  </ol>
  
  <p>At this point I still have issues for annotations and classes not found from "android.support" package.</p>
  
  <p>Project's setting for Java compiler is "1.6", minSDK is 9 and target is 17.</p>
  
  <p>I tried also to add the facebook library to my main project but it is still not working.</p>
  
  <p>I tried to put java 1.7 in the compiler but it is not resolving the missing classes plus it is saying that to compile with java 1.7 I need to have min API set to kitkat (which I don't want because I will not be able to compile for 4.2 and 4.3).</p>
  
  <p>I added manually the androd support jar from the SDK Manager folder of android and this resolved partially the missing classes but some did remain.</p>
  
  <p>I am using Eclipse Version: Luna Service Release 1 (4.4.1) with JDK 1.7.0_51 and the latest ADT Plugin (all android components updated with SDK Manager).</p>
  
  <p>Any help is appreciated.</p>