title: Disable Dependency Library permission
body: <p>In my android project (using Android Studio), I have integrated a library which uses few extra permissions in its Manifest file. I want to remove one of the permissions which it uses for my app as i don't use that feature from the library and it is unwanted permission for my app.</p>
  
  <p>I read about marker Selectors and tried it but it is not removing the permission.</p>
  
  <p>This is what I added to my app manifest file:</p>
  
  <pre><code>&lt;permission
          android:name="android.permission.AUTHENTICATE_ACCOUNTS"
          tools:node="remove" /&gt;
  
      &lt;permission
          android:name="android.permission.MANAGE_ACCOUNTS"
          tools:node="remove" /&gt;
  </code></pre>
  
  <p>But still while installing the app, I see the permission for "find accounts on the device" being asked.</p>
  
  <p>can someone tell me what am I doing wrong or am I missing something?</p>
  
  <p>My app manifest is kept in src/main location.</p>
  
  <p>I tried other answers from StackOverflow but they did not solve the issue for me.</p>
  
  <p>Thanks for any help</p>