码迷,mamicode.com
首页 > 其他好文 > 详细

Activity not started, its current task has been brought to the front

时间:2015-06-26 10:30:42      阅读:102      评论:0      收藏:0      [点我收藏+]

标签:

运行错误:Activity not started, its current task has been brought to the front 。

原因分析:因为你的模拟器中还有东西在运行,也就是你要运行的activity已经有一个在模拟器中运行了。不要以认为模拟器退出到桌面了就没有东西在跑了。在你调试的时候异常关闭的程序有可能就有activity在运行。

解决方法:project->clean。

Activity not started, its current task has been brought to the front

标签:

原文地址:http://www.cnblogs.com/yxnchinahlj/p/4601534.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!