这个问题看起来很简单,我却想不出答案。应用程序单例类的onCreate()
是否有可能在应用程序更新时触发而不是 ?
(更新可以通过Android Studio进行版本升级)谢谢你。
No.
但是很有可能在使用Android Studio时,你安装了APK而没有升级gradle中的应用程序版本,所以broadcast
永远不会被发送。