ActivityManager: Warning: Activity not started, its current task has been brought to the front
来源:互联网 发布:mysql substring函数 编辑:程序博客网 时间:2024/06/02 17:06
今天开始学习Android
---------------------------------------------------------
在部署一个HelloAndroid应用后,由于发现要学习的代码需要用2.0以上的sdk。因而又重新建了一个工程。
再重新把新的工程部署上模拟器时候,出现了:
ActivityManager: Warning: Activity not started, its current task has been brought to the front
而新的应用总是之前的那个应用。
原因是:两个应用起了同样的名字,模拟器总是识别第一个
解决方法是:重新启动一边模拟器;如果还是不行,可以先把模拟器delete掉再重新add就可以了
另外:
若是有版本信息警告:
WARNING: Application does not specify an API level requirement!
Device API version is 7 (Android 2.1)
在androidMainfest.xml 里的<manifest></manifest>之间的标记符添加 <uses-sdk android:minSdkVersion="7" />这行xml代码就行。其中7表示version2.1的版本
转自http://blog.csdn.net/timchen6824/article/details/6205435
0 0
- 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
- 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
- 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
- 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
- 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 MTP框架和流程分析
- iOS点滴-openSSH使用
- 《Java编程思想》学习笔记17——注解Annotation
- 如何更好的理解SVM算法
- ActivityManager: Warning: Activity not started, its current task has been brought to the front
- select count 多条统计
- 次梯度与次微分
- mysql的基本操作
- ckeditor Remove tags on bottom bar
- Android Bluetooth蓝牙开发\蓝牙协议\蓝牙通信例子_Android支持蓝牙4.0版本_BLE开发
- Android布局详解之二:LinearLayout
- tomcat6.0 安装版和解压版的内存设置
- 最有用的 Key Mapping --- CapsLk -> Eac, Alt -> Ctrl