I am stuck when trying to run my app with the FacebookSDK for Android included into my project in IntelliJ IDEA.
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 this post, I get multiple errors:
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
Detailed screenshots:
Why is that and how can I solve it?
Download: You can download the test project here.