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

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

时间:2015-05-11 14:52:10      阅读:94      评论:0      收藏:0      [点我收藏+]

标签:android

运行安卓程序的时候提出了一个警告:Activity not started, its current task hasbeen brought to the front 。

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

解决方法project->clean。

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

标签:android

原文地址:http://blog.csdn.net/darongzi1314/article/details/45643241

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