- 浏览: 196750 次
文章分类
最新评论
-
TedYin:
如果不修改AndroidManifest.xml文件,能不能解 ...
无法找到明确的Activity ActivityNotFoundException: Unable to find explicit activity -
弋小弋:
升级到r20 不会用了哇
慎重升级Android SDK Tools 至 r20 -
wzuying:
不懂吖,怎么分批啊,最多读到2600就错了,要是几万条不是读很 ...
SQLite一次性读取过多记录会造成内存溢出OutOfMemoryError -
fantouch:
原来这样
引用自定义资源需注意数据类型 -
lsm8146103:
能行不、、全是一个答案,根本解决不了的、
解决弹出错误“无法播放视频。很抱歉,无法播放此视频”
Android 2.3.3 Eclipse Version: 3.7.0 Console
Eclipse下的Android虚拟机,运行应用,正常的控制台信息Console一般如下:
[2012-02-17 15:01:28 - tmall] ------------------------------ [2012-02-17 15:01:28 - tmall] Android Launch! [2012-02-17 15:01:28 - tmall] adb is running normally. [2012-02-17 15:01:28 - tmall] Performing com.tmall.nokia.Start activity launch [2012-02-17 15:01:28 - tmall] Automatic Target Mode: launching new emulator with compatible AVD 'jinhua' [2012-02-17 15:01:28 - tmall] Launching a new emulator with Virtual Device 'jinhua' [2012-02-17 15:01:30 - Emulator] emulator: emulator window was out of view and was recentred [2012-02-17 15:01:30 - Emulator] [2012-02-17 15:01:30 - tmall] New emulator found: emulator-5554 [2012-02-17 15:01:30 - tmall] Waiting for HOME ('android.process.acore') to be launched... [2012-02-17 15:01:30 - Emulator] Unknown savevm section type 95 [2012-02-17 15:02:00 - tmall] HOME is up on device 'emulator-5554' [2012-02-17 15:02:00 - tmall] Uploading tmallnokia.apk onto device 'emulator-5554' [2012-02-17 15:02:02 - tmall] Installing tmallnokia.apk... [2012-02-17 15:02:29 - tmall] Success! [2012-02-17 15:02:29 - tmall] Starting activity com.tmall.nokia.Start on device emulator-5554
但是,控制台Console也经常会报错,下面搜集了常见的几种报错:
1、Failed to install tmallnokia.apk on device 'emulator-5554': Connection refused: connect
[2012-02-17 16:33:43 - tmall] ------------------------------ [2012-02-17 16:33:43 - tmall] Android Launch! [2012-02-17 16:33:43 - tmall] adb is running normally. [2012-02-17 16:33:43 - tmall] Performing com.tmall.nokia.Start activity launch [2012-02-17 16:33:43 - tmall] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'tmall' [2012-02-17 16:33:43 - tmall] Uploading tmallnokia.apk onto device 'emulator-5554' [2012-02-17 16:33:44 - tmall] Failed to install tmallnokia.apk on device 'emulator-5554': Connection refused: connect [2012-02-17 16:33:44 - tmall] java.net.ConnectException: Connection refused: connect [2012-02-17 16:33:44 - tmall] Launch canceled!
2、emulator: emulator window was out of view and was recentred
[2012-02-17 14:54:10 - tmall] ------------------------------ [2012-02-17 14:54:10 - tmall] Android Launch! [2012-02-17 14:54:10 - tmall] adb is running normally. [2012-02-17 14:54:10 - tmall] Performing com.tmall.nokia.Start activity launch [2012-02-17 14:54:10 - tmall] Automatic Target Mode: launching new emulator with compatible AVD 'tmall' [2012-02-17 14:54:10 - tmall] Launching a new emulator with Virtual Device 'tmall' [2012-02-17 14:54:16 - Emulator] emulator: emulator window was out of view and was recentred [2012-02-17 14:54:16 - Emulator] [2012-02-17 14:54:16 - tmall] New emulator found: emulator-5554 [2012-02-17 14:54:16 - tmall] Waiting for HOME ('android.process.acore') to be launched... [2012-02-17 14:54:16 - Emulator] Unknown savevm section type 95 [2012-02-17 14:55:32 - tmall] emulator-5554 disconnected! Cancelling 'com.tmall.nokia.Start activity launch'!
3、The connection to adb is down, and a severe error has occured.
[2012-02-17 17:30:47 - tmall] ------------------------------ [2012-02-17 17:30:47 - tmall] Android Launch! [2012-02-17 17:30:47 - tmall] The connection to adb is down, and a severe error has occured. [2012-02-17 17:30:47 - tmall] You must restart adb and Eclipse. [2012-02-17 17:30:47 - tmall] Please ensure that adb is correctly located
4、Failed to install tmallnokia.apk on device 'emulator-5554': timeout
[2012-02-17 11:11:55 - tmall] ------------------------------ [2012-02-17 11:11:55 - tmall] Android Launch! [2012-02-17 11:11:55 - tmall] adb is running normally. [2012-02-17 11:11:55 - tmall] Performing com.tmall.nokia.Start activity launch [2012-02-17 11:11:55 - tmall] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'tmall' [2012-02-17 11:11:55 - tmall] Uploading tmallnokia.apk onto device 'emulator-5554' [2012-02-17 11:12:01 - tmall] Failed to install tmallnokia.apk on device 'emulator-5554': timeout [2012-02-17 11:12:01 - tmall] Launch canceled!at 'D:\develop\Android\android-sdk\platform-tools\adb.exe' and can be executed.
5、WARNING: Data partition already in use. Changes will not persist!
[2012-02-17 15:00:22 - tmall] ------------------------------ [2012-02-17 15:00:22 - tmall] Android Launch! [2012-02-17 15:00:22 - tmall] adb is running normally. [2012-02-17 15:00:22 - tmall] Performing com.tmall.nokia.Start activity launch [2012-02-17 15:00:22 - tmall] Automatic Target Mode: launching new emulator with compatible AVD 'tmall' [2012-02-17 15:00:22 - tmall] Launching a new emulator with Virtual Device 'tmall' [2012-02-17 15:00:25 - Emulator] WARNING: Data partition already in use. Changes will not persist! [2012-02-17 15:00:25 - Emulator] WARNING: SD Card image already in use: C:\Documents and Settings\Administrator\.android\avd\tmallavd/sdcard.img [2012-02-17 15:00:25 - Emulator] ko:Snapshot storage already in use: C:\Documents and Settings\Administrator\.android\avd\tmall.avd/snapshots.img
6、Can't connect to activity manager; is the system running?
[2012-02-27 14:09:25 - tmall] ------------------------------ [2012-02-27 14:09:25 - tmall] Android Launch! [2012-02-27 14:09:25 - tmall] adb is running normally. [2012-02-27 14:09:25 - tmall] Performing com.tmall.ad.Start activity launch [2012-02-27 14:09:25 - tmall] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'tmall' [2012-02-27 14:09:25 - tmall] Uploading tmall.apk onto device 'emulator-5554' [2012-02-27 14:09:27 - tmall] Installing tmall.apk... [2012-02-27 14:10:24 - tmall] Success! [2012-02-27 14:10:25 - tmall] Starting activity com.tmall.ad.Start on device emulator-5554 [2012-02-27 14:10:28 - tmall] Device not ready. Waiting 3 seconds before next attempt. [2012-02-27 14:10:46 - tmall] ActivityManager: android.util.AndroidException: Can't connect to activity manager; is the system running?
7、DeviceMonitor]Sending jdwp tracking request failed!
[2012-03-02 11:22:34 - Logcat]null com.android.ddmlib.TimeoutException at com.android.ddmlib.AdbHelper.read(AdbHelper.java:648) at com.android.ddmlib.AdbHelper.read(AdbHelper.java:616) at com.android.ddmlib.AdbHelper.readAdbResponse(AdbHelper.java:216) at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:378) at com.android.ddmlib.Device.executeShellCommand(Device.java:284) at com.android.ddmuilib.logcat.LogPanel$3.run(LogPanel.java:527) [2012-03-02 11:23:09 - DeviceMonitor]Sending jdwp tracking request failed!
8、 Installation error: INSTALL_FAILED_INSUFFICIENT_STORAG
[2012-03-02 17:10:58 - tmall] ------------------------------ [2012-03-02 17:10:58 - tmall] Android Launch! [2012-03-02 17:10:58 - tmall] adb is running normally. [2012-03-02 17:10:58 - tmall] Performing com.tmall.nokia.Start activity launch [2012-03-02 17:10:58 - tmall] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'jinhua' [2012-03-02 17:10:58 - tmall] Uploading tmall.apk onto device 'emulator-5554' [2012-03-02 17:11:00 - tmall] Installing tmall.apk... [2012-03-02 17:11:13 - tmall] Success! [2012-03-02 17:11:14 - tmall] Starting activity com.tmall.nokia.Start on device emulator-5554 [2012-03-02 17:11:15 - tmall] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.tmall.nokia/.Start } [2012-03-02 17:11:17 - tmall] Attempting to connect debugger to 'com.tmall.nokia' on port 8634 [2012-03-02 17:11:19 - tmall] Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE [2012-03-02 17:11:19 - tmall] Please check logcat output for more details. [2012-03-02 17:11:19 - tmall] Launch canceled!
9、java.io.IOException: EOF
[2012-03-03 11:33:28 - tmall] ------------------------------ [2012-03-03 11:33:28 - tmall] Android Launch! [2012-03-03 11:33:28 - tmall] adb is running normally. [2012-03-03 11:33:28 - tmall] Performing com.tmall.nokia.Start activity launch [2012-03-03 11:33:28 - tmall] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'tmall' [2012-03-03 11:33:28 - tmall] Uploading tmall.apk onto device 'emulator-5554' [2012-03-03 11:33:30 - tmall] Failed to install tmall.apk on device 'emulator-5554': EOF [2012-03-03 11:33:30 - tmall] java.io.IOException: EOF [2012-03-03 11:33:30 - tmall] Launch canceled!
10、com.android.ddmlib.InstallException: device not found
[2012-03-07 11:47:56 - tmall] Failed to install tmall.apk on device 'emulator-5554': device not found [2012-03-07 11:47:56 - tmall] com.android.ddmlib.InstallException: device not found [2012-03-07 11:47:56 - tmall] Launch canceled!
解决办法:
对上述报错,一般的处理方式是
1、关闭虚拟机,再重新Run应用。
关闭虚拟机,直接在任务栏上右键点击虚拟机程序,在弹出菜单中左键点击“关闭”,等待虚拟机程序退出。
2、如果按第一点操作还是无法正常工作。需关闭虚拟机,退出Eclipse,并在任务管理器中结束“adb.exe”进程(如果有的话)。
按照上述办法操作,大多数Run应用,控制台Console报的错误都可以得到解决。
发表评论
-
慎重升级Android SDK Tools 至 r20
2012-07-04 16:37 8075Android SDK Tools r20发布, 同时发布的还 ... -
Activity缺少无参默认构造方法,产生实例化错误InstantiationException
2012-04-12 17:17 3512Android 2.3.3 Eclipse Ver ... -
SQLite一次性读取过多记录会造成内存溢出OutOfMemoryError
2012-04-02 21:36 7395Android 2.3.3 Eclipse Ve ... -
SQLite的query方法,注意检查参数args中是否含null值
2012-03-13 17:46 7140Android 2.3.3 Eclipse Versi ... -
ScrollView不能包含多个子项,ScrollView can host only one direct child
2012-03-06 17:48 11978Android 2.3.3 Eclipse Version: ... -
SQL语句包含表中没有的字段,报错no such column:
2012-02-25 17:25 9519Android 2.3.3 Eclipse Versio ... -
引用自定义资源需注意数据类型
2012-02-16 17:31 4724Android 2.3.3 Eclip ... -
存储容量检测 注意构建StatFs对象的参数合法性
2012-02-14 13:47 3779Android 2.3.3 Eclipse Version: ... -
SQLite抛出错误“未关闭游标及数据库对象”特殊原因一例
2012-02-13 13:48 8281Android 2.3.3 Eclipse Version: ... -
操作SQLite数据库报错:“绑定或列的索引超出范围”
2012-02-13 13:10 4037Android 2.3.3 Eclip ... -
解决Content的startActivity方法报错
2012-02-10 18:01 17072Android 2.3.3 Eclipse Ver ... -
解决弹出错误“无法播放视频。很抱歉,无法播放此视频”
2012-02-09 18:29 35144Android 2.3.3 Eclipse Versi ... -
国际化资源文件,配置不完整导致报错
2012-02-08 15:07 2394Android 2.3.3 Eclipse Version: ... -
使用bitmap缩略图,解决图片大小超过预算的VM的问题
2012-02-07 17:45 4085Android 2.3.3 Eclipse ... -
仅layout使用继承TextView,报java.lang.NullPointerException
2012-02-07 13:13 3429Android 2.3.3 Eclipse ... -
不能创建处理器 Can't create handler inside thread that has not called Looper.prepare()
2012-02-06 15:27 1923Android 2.3.3 Eclipse V ... -
Android APK安装失败,共享用户不兼容 INSTALL_FAILED_SHARED_USER_INCOMPATIBLE
2012-02-06 11:48 15815Android 2.3.3 Eclips ... -
无法找到明确的Activity ActivityNotFoundException: Unable to find explicit activity
2012-02-06 09:52 11070Android 2.3.3 Eclipse Version: ...
相关推荐
总之,解决Win 7下Android虚拟机版本报错问题通常需要对系统环境进行诊断和优化,包括更新系统文件、配置AVD参数以及确保必要的硬件支持。在进行任何修改之前,始终做好数据备份,遵循安全最佳实践,以防止不必要的...
本书十三个章节,分别讲解了android系统基础知识,android系统的结构和核心框架,Java虚拟机和Dalvik虚拟机的知识,实现程序编译和调试,Dalvik的运作流程,DEX优化和安全管理,Android虚拟机生命周期的管理和内存...
使用vmware虚拟机克隆机器后,network服务报错error no suitable device found问题解决
解决虚拟机报错问题,解决完好虚拟机不能运行问题
加载CentOS的ISO文件开始安装时,安装文件要求检测I/O设备,选“skip”后,本应进入安装程序的图形界面,但是却报错误
这个不报错版本确保了无论是通过虚拟机还是真机运行,都能顺畅无阻,对于初、中、高级Android工程师来说,都是提升技能的理想工具。 一、Android ApiDemos的核心价值 ApiDemos的主要价值在于它详尽地展示了Android...
用vmware打开linux操作系统时 会提示vmdk文件报错 删除lck文件候打开 发现还会继续生成vmdk文件
**Android虚拟机ART详解** Android运行环境的核心组成部分之一就是虚拟机,从早期的Dalvik到现在的Android RunTime(ART),这一进化过程极大地提升了Android应用的性能和效率。本文将深入探讨ART的工作原理、优势...
为了解决这个问题,“Android虚拟机加速器 intel.7z”应运而生,其目标是通过优化技术提升虚拟机的运行效率,从而减少延迟和卡顿现象。 这个加速器主要针对Intel处理器进行了优化,因为Intel处理器广泛应用于个人...
sun公司,虚拟电脑控制台,在该程序下可以方便的安装LINUX虚拟机进行软件开发而不用改变主机的操作系统.
《深入解析Android虚拟机》是由钟世礼编著的一本专为Android开发者深入理解Android虚拟机(Dalvik或ART)而撰写的书籍。在Android系统中,虚拟机扮演着至关重要的角色,它负责运行应用程序、内存管理、垃圾回收以及...
这个教程“xp安linux.txt”很可能详细阐述了上述步骤,包括可能遇到的问题及解决方案。在实际操作中,应仔细阅读文档,遵循每一步骤,遇到问题可以查阅VMware和Linux社区的在线资源,或者寻求专业技术支持。记住,...
Android 虚拟机是 Android 操作系统的模拟环境,可以在计算机上运行 Android 应用程序,INSTALLATION 安卓虚拟机通常包括安装虚拟机软件、创建虚拟机、安装 Android 操作系统、配置网络连接等步骤。 虚拟机软件...
一步一步讲解了android虚拟机的安装和所需要的软件支持,下载完成后不需要进行升级,直接打开可用
Android系统从诞生到现在的短短几年时间里,凭借其易用性和开发的简洁性,赢得了广大开发者的支持。在整个Android系统中,Dalvik VM一直是贯穿从底层内核到高层应用开发的核心。本书循序渐进地讲解了Android虚拟机...