Warnings Your Apk Is Using Permissions That Require A Privacy Policy: (android.permission.READ_PHONE_STATE)

前端 未结 20 1335
孤独总比滥情好
孤独总比滥情好 2020-12-01 00:53

In manifest not added android.permission.READ_PHONE_STATE. permission.

Why error comes when I upload a new apk version error comes below.

Your app has an apk w

20条回答
  •  眼角桃花
    2020-12-01 01:40

    Just try to add this line to your manifest file:

    
    

    and add attribute xmlns:tools="http://schemas.android.com/tools" to your tag to define namespace tools

    From the documentation for tools:node="remove":

    Remove this element from the merged manifest. Although it seems like you should instead just delete this element, using this is necessary when you discover an element in your merged manifest that you don't need, and it was provided by a lower-priority manifest file that's out of your control (such as an imported library).

提交回复
热议问题