title: requestPermissions(activity, String[], int) is undefined for the type ActivityCompat | Eclipse Project
body: <p>The method <code>requestPermissions(activity, String[], int)</code> is undefined for the type ActivityCompat</p>
  
  <p>Trying to add the new <code>permissions</code> for <code>SDK 23</code> but my code is throwing the above error.</p>
  
  <p>Edit: using this code</p>
  
  <pre><code>ActivityCompat.requestPermissions(this,new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, 1);
  </code></pre>
  
  <p>I have imported the following to the activity</p>
  
  <pre><code>import android.support.v4.app.ActivityCompat;
  import android.support.v4.content.ContextCompat;
  import android.support.v7.app.AppCompatActivity;
  </code></pre>
  
  <blockquote>
    <p>Properties > Java Build Path > Libraries has both the v4 anf v7 jar
    files.</p>
  </blockquote>
  
  <p>I have updated the <strong>Android Support Repository</strong> to the latest 43 within the SDK.</p>
  
  <p>What am I missing ?? </p>
  
  <p>Thanks</p>