我正在使用模拟器 4.0.3,每当运行项目时,新的 android 模拟器启动,而以前的模拟器显示空白屏幕,即闲置时空白屏幕不起作用。会有什么问题?我该如何解决?
重置adb时出错
[2012-05-11 16:54:11 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2012-05-11 16:54:11 - Unexpected error while launching logcat. Try reselecting the device.] An existing connection was forcibly closed by the remote host
java.io.IOException: An existing connection was forcibly closed by the remote host
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:395)
at com.android.ddmlib.Device.executeShellCommand(Device.java:397)
at com.android.ddmuilib.logcat.LogCatReceiver$1.run(LogCatReceiver.java:102)
at java.lang.Thread.run(Unknown Source)
[2012-05-11 16:54:12 - DeviceMonitor] Connection attempts: 1
下面显示的模拟器图像..
.
而且它非常慢.. 当我试图在模拟器中将设备内存大小从 512 增加到 1024 时,它对我不起作用。谁能帮帮我?
最佳答案
删除 sdcard... 并在任务管理器中终止 adb 进程并重新启动它,重新启动 eclipse 以及尝试,它会的
关于Android : 4. 0.3 模拟器一段时间后自动关闭,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10550118/