出现错误ActivityManager: Warning: Activity not started, its current task has been
来源:互联网 发布:ubuntu 启动过程 编辑:程序博客网 时间:2024/06/15 20:37
1、在学习两个Activity的切换时,重新把新的工程部署上模拟器时候出现错误:ActivityManager: Warning: Activity not started, its current task has been brought to the front。
原因是:两个应用起了同样的名字,模拟器总是识别第一个
或者是两个应用中的一个已经在系统的缓存中,这是android的机制
解决方法是:重新启动一下模拟器;如果还是不行,可以先把模拟器delete掉再重新add就可以了。
2、另外,若是有版本信息警告:
WARNING: Application does not specify an API level requirement!
Device API version is 8 (Android 2.2)
在androidMainfest.xml 里的之间的标记符添加 这行xml代码就行。其中7表示version2.2的版本
3、若已经添加还出现如下警告:
WARNING: tag should specify a target API level (the highest verified version; when running on later
versions, compatibility behaviors may be enabled) with android:targetSdkVersion=”?”
只要在上面的地方再设置一个target目标版本就ok了(见如下蓝色改动地方)
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="8"/>
4、若出现这个警告:
tag appears after tag
把 放到 前面即可消除,据说是新版本的“特性”
- 出现错误ActivityManager: Warning: Activity not started, its current task has been
- 出现错误ActivityManager: Warning: Activity not started, its current task has been
- 安卓基础笔记之错误ActivityManager: Warning: Activity not started, its current task has been
- 学习笔记:出现错误ActivityManager: Warning: Activity not started, its current task has been brought to the fr
- ActivityManager: Warning: Activity not started, its current task has been brought to the front
- ActivityManager: Warning: Activity not started, its current task has been brought to the front
- ActivityManager: Warning: Activity not started, its current task has been brought to the front
- ActivityManager: Warning: Activity not started, its current task has been brought to the front
- Android异常总结---ActivityManager: Warning: Activity not started, its current task has been brought to
- Android异常总结---ActivityManager: Warning: Activity not started,its current task has been brought to th
- ActivityManager: Warning: Activity not started, its current task has been brought to the front
- ActivityManager: Warning: Activity not started, its current task has been brought to the front
- ActivityManager: Warning: Activity not started, its current task has been brought to the front
- ActivityManager: Warning: Activity not started, its current task has been br
- helloandriod] ActivityManager: Warning: Activity not started, its current task has been brought to t
- ActivityManager: Warning: Activity not started, its current task has been brought to the front
- ActivityManager: Warning: Activity not started, its current task has been brought to the front
- ActivityManager: Warning: Activity not started, its current task has been brought to the front
- Android中,调用Email
- FireBreath -- Summary--方法 属性 Attributes 事件和js的交互等
- android中获取设备的型号和手机厂商
- Redis相关命令
- Shell脚本$系列参数意义
- 出现错误ActivityManager: Warning: Activity not started, its current task has been
- _USER_ERROR__missing_dlib_all_source_cpp_file__OR......
- PostgreSQL学习手册(函数和操作符<一>)
- Android样式的开发:drawable汇总篇
- Java eclipse 设置字体大小和默认UTF8 编码方式
- Spring RestTemplate结果中文乱码解决方案
- Redhat Linux安装Tomcat
- Linux Debian下安装tomcat7
- iOS 异步加载刷新