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。

目录
相关文章
|
Shell 容器 Perl
Back-off restarting failed container 问题解决
Back-off restarting failed container 问题解决
1518 0
|
Java 应用服务中间件 Maven
解决A child container failed during start报错问题
解决A child container failed during start报错问题
172 0
已解决 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'.异常错误,已解决
612 0
已解决 RuntimeError: There is no current event loop in thread ‘Thread-1‘.
|
Java 应用服务中间件 容器
Tomcat报错 严重: A child container failed during start
Tomcat报错 严重: A child container failed during start
194 0
|
Java Spring
Redisson BUG: Failed to submit a listener notification task. Event loop shut down?
Redisson BUG: Failed to submit a listener notification task. Event loop shut down?
1451 0
|
Java Maven 容器
A child container failed during start
A child container failed during start
152 0
A child container failed during start
|
Java 容器
严重: A child container failed during start
严重: A child container failed during start
178 0
严重: A child container failed during start
|
Java 程序员 调度
Thread State 详解
前言 文本已收录至我的GitHub仓库,欢迎Star:github.com/bin39232820… 种一棵树最好的时间是十年前,其次是现在
177 0