Android Studio not recognizing Facebook SDK
<p>In build.gradle:</p>

<pre><code>compile 'com.facebook.android:facebook-android-sdk:[4,5)'
</code></pre>

<p>In my code:</p>

<pre><code>import com.facebook.AccessToken;
import com.facebook.AccessTokenTracker;
import com.facebook.login.LoginManager;
</code></pre>

<p>I don't think this was an issue before, but all of the sudden today it's saying "cannot resolve symbol" for all of the import statements and so lots of things in my code are now wrongly marked as errors, even though when I run my app it works fine. What could be causing this?</p>