以前,当你从
AndroidStudio
启动一个应用程序时,你可以模拟安卓系统因为内存不足而杀死这个应用程序,这样做。
1. Press home button
2. Terminate the app pressing terminate button in logcat with your process selected
3. Reopen your app pressing in their icon in the emulator