Disable Dependency Library permission

后端 未结 1 1804
清酒与你
清酒与你 2021-01-02 02:45

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 whic

相关标签:
1条回答
  • 2021-01-02 03:06

    Changing word "permission" to "uses-permission" fixed the issue for me:

    <uses-permission
            android:name="android.permission.AUTHENTICATE_ACCOUNTS"
            tools:node="remove" />
    
        <uses-permission
            android:name="android.permission.MANAGE_ACCOUNTS"
            tools:node="remove" />
    
    0 讨论(0)
提交回复
热议问题