Cannot resolve method checkSelfPermission

后端 未结 7 1077
南方客
南方客 2021-02-19 14:58

I\'m trying to make my app ready for Android 6 and now I\'m stuck to the point where you need to request and check permissions.

I tried the following from the docs:

7条回答
  •  北海茫月
    2021-02-19 15:58

    @SuppressLint("NewApi")
    

    I simply used this on top of my page and it works for me...

提交回复
热议问题