How to terminate the app in Android Studio Monitor? You should just end the current activity. If you want to terminate the app, there are many ways Inherit baseActivity, collect avtivity in baseactivity and then end it all Or use android.os.Process.killProcess(android.os.Process.myPid()); or System.exit(0) ;
How to terminate the app in Android Studio Monitor? You should just end the current activity. If you want to terminate the app, there are many ways
Inherit baseActivity, collect avtivity in baseactivity and then end it all
Or use android.os.Process.killProcess(android.os.Process.myPid());
or System.exit(0) ;
It is estimated that this is an abnormal end and we will help you restart the application