Android: Leaked IntentReceiver exception is being thrown even though I call unregisterReceiver

前端 未结 3 1406
轻奢々
轻奢々 2020-12-20 11:47

I don\'t understand why I\'m getting this exception when hitting the back button. I have the IntentReceiver registered in the onCreate method and it is supposed to be unregi

3条回答
  •  孤城傲影
    2020-12-20 12:12

    I had the exact same problem. The cause was that I had inadvertently registered the same BroadcastReceiver twice.

提交回复
热议问题