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

简介: 运行错误:Activity not started, its current task has been brought to the front 。 原因分析:因为你的模拟器中还有东西在运行,也就是你要运行的activity已经有一个在模拟器中运行了。

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

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

解决方法:project->clean。

目录
相关文章
|
8月前
|
Shell 容器 Perl
Back-off restarting failed container 问题解决
Back-off restarting failed container 问题解决
595 0
|
10月前
已解决 RuntimeError: There is no current event loop in thread ‘Thread-1‘.
Jetson Xavier NX 报错 RuntimeError: There is no current event loop in thread 'Thread-1'.异常错误,已解决
166 0
已解决 RuntimeError: There is no current event loop in thread ‘Thread-1‘.
2015-03-18 current note update logic in my task
2015-03-18 current note update logic in my task
75 0
2015-03-18 current note update logic in my task
why process type for MyOpportunity creation is empty
why process type for MyOpportunity creation is empty
81 0
why process type for MyOpportunity creation is empty
|
关系型数据库 Shell 网络安全