title: using facebook sdk in Android studio
body: <p>I'm following <a href="https://developers.facebook.com/docs/getting-started/facebook-sdk-for-android-using-android-studio/3.0/" rel="noreferrer">Facebook SDK for Android using Android Studio</a>. When I run my application I'm getting the below mentioned warning.</p>
  
  <pre><code>Gradle: module 'facebook' won't be compiled. Unfortunately you can't have non-Gradle Java module and Android-Gradle module in one project.
  </code></pre>
  
  <p>How should I solve this? </p>
  
  <p>I tried @Scott Barta's answer and get the following error message.</p>
  
  <pre><code>    A problem occurred configuring project ':App'.
  &gt; Failed to notify project evaluation listener.
     &gt; A problem occurred configuring project ':libraries:facebook'.
        &gt; Failed to notify project evaluation listener.
           &gt; Could not resolve all dependencies for configuration ':libraries:facebook:_DebugCompile'.
              &gt; Could not find any version that matches com.android.support:support-v4:+.
                Required by:
                    MyApplication2.libraries:facebook:unspecified
  </code></pre>