ACTION_MY_PACKAGE_REPLACED not received

后端 未结 9 692
长发绾君心
长发绾君心 2020-12-08 00:59

I am using ACTION_MY_PACKAGE_REPLACED to receive when my app is updated or resinstalled. My problem is that the event is never triggered (I tried Eclipse and real device). T

9条回答
  •  隐瞒了意图╮
    2020-12-08 01:22

    I ran into this problem when I was building and installing my app from Android Studio.

    • When doing normal build & run (without debugging), I fixed the problem by turning off Instant Run.
    • When doing a build & run with debugging, I couldn't find a way to fix the problem.

提交回复
热议问题