android虚拟机报错解决方法,Android虚拟机报错解决方法

商飞尘
2023-12-01

Eclipse下的Android虚拟机,运行应用,正常的控制台信息Console一般如下01.[2012-02-17 15:01:28 - tmall] ------------------------------

02.[2012-02-17 15:01:28 - tmall] Android Launch!

03.[2012-02-17 15:01:28 - tmall] adb is running normally.

04.[2012-02-17 15:01:28 - tmall] Performing com.tmall.nokia.Start activity launch

05.[2012-02-17 15:01:28 - tmall] Automatic Target Mode: launching new emulator with compatible AVD 'jinhua'

06.[2012-02-17 15:01:28 - tmall] Launching a new emulator with Virtual Device 'jinhua'

07.[2012-02-17 15:01:30 - Emulator] emulator: emulator window was out of view and was recentred

08.[2012-02-17 15:01:30 - Emulator]

09.[2012-02-17 15:01:30 - tmall] New emulator found: emulator-5554

10.[2012-02-17 15:01:30 - tmall] Waiting for HOME ('android.process.acore') to be launched...

11.[2012-02-17 15:01:30 - Emulator] Unknown savevm section type 95

12.[2012-02-17 15:02:00 - tmall] HOME is up on device 'emulator-5554'

13.[2012-02-17 15:02:00 - tmall] Uploading tmallnokia.apk onto device 'emulator-5554'

14.[2012-02-17 15:02:02 - tmall] Installing tmallnokia.apk...

15.[2012-02-17 15:02:29 - tmall] Success!

16.[2012-02-17 15:02:29 - tmall] Starting activity com.tmall.nokia.Start on device emulator-5554

2、emulator: emulator window was out of view and was recentred

01.[2012-02-17 14:54:10 - tmall] ------------------------------

02.[2012-02-17 14:54:10 - tmall] Android Launch!

03.[2012-02-17 14:54:10 - tmall] adb is running normally.

04.[2012-02-17 14:54:10 - tmall] Performing com.tmall.nokia.Start activity launch

05.[2012-02-17 14:54:10 - tmall] Automatic Target Mode: launching new emulator with compatible AVD 'tmall'

06.[2012-02-17 14:54:10 - tmall] Launching a new emulator with Virtual Device 'tmall'

07.[2012-02-17 14:54:16 - Emulator] emulator: emulator window was out of view and was recentred

08.[2012-02-17 14:54:16 - Emulator]

09.[2012-02-17 14:54:16 - tmall] New emulator found: emulator-5554

10.[2012-02-17 14:54:16 - tmall] Waiting for HOME ('android.process.acore') to be launched...

11.[2012-02-17 14:54:16 - Emulator] Unknown savevm section type 95

12.[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-1717:30:47 - tmall] ------------------------------

[2012-02-1717:30:47 - tmall] Android Launch!

[2012-02-1717:30:47 - tmall] The connection to adb is down, and a severe error has occured.

[2012-02-1717:30:47 - tmall] You must restart adb and Eclipse.

[2012-02-1717:30:47 - tmall] Please ensure that adb is correctly located

4、Failed to install tmallnokia.apk on device 'emulator-5554': timeout01.[2012-02-17 11:11:55 - tmall] ------------------------------

02.[2012-02-17 11:11:55 - tmall] Android Launch!

03.[2012-02-17 11:11:55 - tmall] adb is running normally.

04.[2012-02-17 11:11:55 - tmall] Performing com.tmall.nokia.Start activity launch

05.[2012-02-17 11:11:55 - tmall] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'tmall'

06.[2012-02-17 11:11:55 - tmall] Uploading tmallnokia.apk onto device 'emulator-5554'

07.[2012-02-17 11:12:01 - tmall] Failed to install tmallnokia.apk on device 'emulator-5554': timeout

08.[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!

01.[2012-02-17 15:00:22 - tmall] ------------------------------

02.[2012-02-17 15:00:22 - tmall] Android Launch!

03.[2012-02-17 15:00:22 - tmall] adb is running normally.

04.[2012-02-17 15:00:22 - tmall] Performing com.tmall.nokia.Start activity launch

05.[2012-02-17 15:00:22 - tmall] Automatic Target Mode: launching new emulator with compatible AVD 'tmall'

06.[2012-02-17 15:00:22 - tmall] Launching a new emulator with Virtual Device 'tmall'

07.[2012-02-17 15:00:25 - Emulator] WARNING: Data partition already in use. Changes will not persist!

08.[2012-02-17 15:00:25 - Emulator] WARNING: SD Card p_w_picpath already in use: C:\Documents and Settings\Administrator\.android\avd\tmallavd/sdcard.img

09.[2012-02-17 15:00:25 - Emulator] ko:Snapshot storage already in use: C:\Documents and Settings

6、Can't connect to activity manager; is the system running?01.[2012-02-27 14:09:25 - tmall] ------------------------------

02.[2012-02-27 14:09:25 - tmall] Android Launch!

03.[2012-02-27 14:09:25 - tmall] adb is running normally.

04.[2012-02-27 14:09:25 - tmall] Performing com.tmall.ad.Start activity launch

05.[2012-02-27 14:09:25 - tmall] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'tmall'

06.[2012-02-27 14:09:25 - tmall] Uploading tmall.apk onto device 'emulator-5554'

07.[2012-02-27 14:09:27 - tmall] Installing tmall.apk...

08.[2012-02-27 14:10:24 - tmall] Success!

09.[2012-02-27 14:10:25 - tmall] Starting activity com.tmall.ad.Start on device emulator-5554

10.[2012-02-27 14:10:28 - tmall] Device not ready. Waiting 3 seconds before next attempt.

11.[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!

01.[2012-03-02 11:22:34 - Logcat]null

02.com.android.ddmlib.TimeoutException

03. at com.android.ddmlib.AdbHelper.read(AdbHelper.java:648)

04. at com.android.ddmlib.AdbHelper.read(AdbHelper.java:616)

05. at com.android.ddmlib.AdbHelper.readAdbResponse(AdbHelper.java:216)

06. at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:378)

07. at com.android.ddmlib.Device.executeShellCommand(Device.java:284)

08. at com.android.ddmuilib.logcat.LogPanel$3.run(LogPanel.java:527)

09.

10.[2012-03-02 11:23:09 - DeviceMonitor]Sending jdwp tracking request failed!

8、 Installation error: INSTALL_FAILED_INSUFFICIENT_STORAG01.[2012-03-02 17:10:58 - tmall] ------------------------------

02.[2012-03-02 17:10:58 - tmall] Android Launch!

03.[2012-03-02 17:10:58 - tmall] adb is running normally.

04.[2012-03-02 17:10:58 - tmall] Performing com.tmall.nokia.Start activity launch

05.[2012-03-02 17:10:58 - tmall] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'jinhua'

06.[2012-03-02 17:10:58 - tmall] Uploading tmall.apk onto device 'emulator-5554'

07.[2012-03-02 17:11:00 - tmall] Installing tmall.apk...

08.[2012-03-02 17:11:13 - tmall] Success!

09.[2012-03-02 17:11:14 - tmall] Starting activity com.tmall.nokia.Start on device emulator-5554

10.[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 }

11.[2012-03-02 17:11:17 - tmall] Attempting to connect debugger to 'com.tmall.nokia' on port 8634

12.[2012-03-02 17:11:19 - tmall] Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE

13.[2012-03-02 17:11:19 - tmall] Please check logcat output for more details.

14.[2012-03-02 17:11:19 - tmall] Launch canceled!

9、java.io.IOException: EOF01.[2012-03-03 11:33:28 - tmall] ------------------------------

02.[2012-03-03 11:33:28 - tmall] Android Launch!

03.[2012-03-03 11:33:28 - tmall] adb is running normally.

04.[2012-03-03 11:33:28 - tmall] Performing com.tmall.nokia.Start activity launch

05.[2012-03-03 11:33:28 - tmall] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'tmall'

06.[2012-03-03 11:33:28 - tmall] Uploading tmall.apk onto device 'emulator-5554'

07.[2012-03-03 11:33:30 - tmall] Failed to install tmall.apk on device 'emulator-5554': EOF

08.[2012-03-03 11:33:30 - tmall] java.io.IOException: EOF

09.[2012-03-03 11:33:30 - tmall] Launch canceled!

10、com.android.ddmlib.InstallException: device not found01.[2012-03-07 11:47:56 - tmall] Failed to install tmall.apk on device 'emulator-5554': device not found

02.[2012-03-07 11:47:56 - tmall] com.android.ddmlib.InstallException: device not found

03.[2012-03-07 11:47:56 - tmall] Launch canceled!

解决办法:

对上述报错,一般的处理方式是

1、关闭虚拟机,再重新Run应用。

关闭虚拟机,直接在任务栏上右键点击虚拟机程序,在弹出菜单中左键点击“关闭”,等待虚拟机程序退出。

2、如果按第一点操作还是无法正常工作。需关闭虚拟机,退出Eclipse,并在任务管理器中结束“adb.exe”进程(如果有的话)。

按照上述办法操作,大多数Run应用,控制台Console报的错误都可以得到解决。

 类似资料: