Android app restarts automatically after a crash

后端 未结 2 968
滥情空心
滥情空心 2020-12-28 15:21

My app is partly written in native app using C/C++. The problem is that whenever C/C++ part crashes for some reason the app dies and then restarts automatically. This causes

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-28 15:59

    By default your application should not be automatically restarting. Generally one would have to register for this kind of thing, e.g. via the AlarmManager/keep alives.

    Do you have a service as part of your application?

提交回复
热议问题