title: ACCOUNT_MANAGER - "Permission is only granted to system apps"
body: <p>I am following the instructions found <a href="https://developer.android.com/training/id-auth/authenticate.html" rel="noreferrer">here at android developer</a>. These instructions say to add these two lines of code into the manifest: </p>
  
  <pre><code>&lt;manifest ... &gt;
      &lt;uses-permission android:name="android.permission.ACCOUNT_MANAGER" /&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      ...
  &lt;/manifest&gt;
  </code></pre>
  
  <p><strong>The problem is that I now get an error on the "ACCOUNT_MANAGER" line saying "Permission is only granted to system apps".</strong></p>
  
  <p><strong>My application is not going to be a system application</strong> and I need to authenticate to OAuth2 services. How can it be possible that ANY app that uses OAuth2 needs to be a system application?</p>
  
  <p><strong>Does anyone know how to use ACCOUNT_MANAGER without requiring my application to be a "system application"?</strong> </p>
  
  <p>I've looked at <a href="https://stackoverflow.com/questions/13597125/permission-is-only-granted-to-system-app-in-manifest">this question</a> and <a href="https://stackoverflow.com/questions/15601819/permission-is-only-granted-to-system-apps-in-android-manifest">this question</a>. They say that, for the permissions they have listed, the error is a "fake" error message. Does anyone know if the 'ACCOUNT_MANAGER error is a fake message? Can I tell the compiler to ignore this like the suggestions in these other posts?</p>