Why does my app has the READ_PHONE_STATE permission although it's not declared in manifest?

前端 未结 4 1966
名媛妹妹
名媛妹妹 2020-12-11 05:17

I noticed the READ_PHONE_STATE permission when I uploaded the apk to google play. I have not added it and it is not written anywhere in my manifest or any other file of my p

4条回答
  •  温柔的废话
    2020-12-11 05:46

    I found the issue.

    I had another library included that had minSdkVersion="4" (its not my library, but my app requires minSdkVersion="14"). I just changed the minSdkVersion of the additional library to 14 and the permission disappeared!

    I declared the following permissions in my app:

    
    
    
    
    
    

提交回复
热议问题