Android退出程序的2种方法

正常退出

System.exit(0);

暴力退出

Process.killProcess(Process.myPid());
原文地址:https://www.cnblogs.com/spadd/p/4432272.html