title: Can't run with Facebook SDK included
body: <p>I am stuck when trying to run my app with the FacebookSDK for Android included into my project in IntelliJ IDEA.</p>
  
  <p>With a basic Android boilerplate, everything builds and runs fine.
  But as soon as I try to add the Facebook SDK to my project as explained in <a href="https://stackoverflow.com/a/14732898">this post</a>, I get multiple errors:</p>
  
  <pre><code>java: /Users/me/Projects/Android/facebook/src/com/facebook/widget/LoginButton.java:25: package android.support.v4.app does not exist
  
  java: /Users/me/Projects/Android/facebook/src/com/facebook/widget/LoginButton.java:33:
  cannot find symbol
  symbol  : class R
  location: package com.facebook.android
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/KIDst.png" alt="Project details"></p>
  
  <p>Detailed screenshots:</p>
  
  <p><img src="https://i.stack.imgur.com/kXbCu.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/S9WrT.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/k3EL8.png" alt="enter image description here"></p>
  
  <p>Why is that and how can I solve it?</p>
  
  <p>Download: You can <a href="https://dl.dropboxusercontent.com/u/3382775/SimpleFacebookTest.zip" rel="nofollow noreferrer">download the test project here</a>.</p>