title: The type android.support.v4.app.Fragment cannot be resolved. It is indirectly referenced from required .class files, Facebook
body: <p>i want to publish photo and text in facebook, for that i have used below code from the facebook reference site </p>
  
  <p><a href="https://developers.facebook.com/docs/android/link-to-your-native-app/#step6" rel="nofollow">https://developers.facebook.com/docs/android/link-to-your-native-app/#step6</a></p>
  
  <p>i have copied all the code in my activity so code but in below line i am getting error </p>
  
  <pre><code>    Session.NewPermissionsRequest newPermissionsRequest = new Session.NewPermissionsRequest(
                          MainActivity.this, PERMISSIONS);
  </code></pre>
  
  <p>here in this line i am getting error like <strong>The type android.support.v4.app.Fragment cannot be resolved. It is indirectly referenced from required .class files</strong></p>
  
  <p>can anybody help me, how to resolve this, i think that it is because *<em>android-support-v4.jar
  *</em> is also over here and it is in facebook sdk also,</p>