title: cannot resolve requestPermissions in ActivityCompat
body: <p>I need use <code>ActivityCompat.requestPermissions();</code> but  with the message : <code>can not resolve .requestPermissions</code>. my <code>compileSdkVersion</code> is 26.</p>
  
  <p>What can I do to solve this problem?</p>
  
  <p>this is my code :</p>
  
  <pre><code>private int MY_PERMISSIONS_REQUEST_SMS_RECEIVE = 10;
  
  ActivityCompat.requestPermissions(this,new String[]{
          Manifest.permission.RECEIVE_SMS}
          , MY_PERMISSIONS_REQUEST_SMS_RECEIVE);
  </code></pre>