标签:
一、【Performing stop of activity that is not resumed】。
这个错误是因为在onCreate方法里面启动了另一个Activity。
如果不能按照“onCreate -> onStart -> onResume -> onCreate2 -> onStart2 -> onResume2 -> onPause -> onStop ”的顺序执行,程序就会报此错误。
解决方法:将相关代码写在onResume中即可。
二、
标签:
原文地址:http://www.cnblogs.com/chaoxiyouda/p/5485379.html