多个activity重叠时,直接finish不行,如果有其他的acitivity则显示其他的。 用此方法直接结束程序 android.os.Process.killProcess(android.os.Process.myPid());