Permission Denial With Broadcast Receiver

前端 未结 6 847
醉酒成梦
醉酒成梦 2021-02-13 13:27

I am trying to create an app which enters a log message when I make an outgoing call.

However, when I run the code, I get a permission denial, despite the fact that I h

6条回答
  •  一生所求
    2021-02-13 14:06

    I have launched the same application on Android emulator and nothing helped, even

    android:enabled="true"
    android:exported="true"
    

    The solution was to go to Settings->Apps -> MyApplication -> Permissions -> Toggle Phone Permission on.

    Android Phone Permission for Application

提交回复
热议问题