我正在使用模拟器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
下面显示的模拟器图像..
并且它非常慢..当我尝试在模拟器中将设备ram大小从512增加到1024时,它对我不起作用。有人可以帮帮我吗?
答案 0 :(得分:3)
Android 4.0.3模拟器有很少的bug,也有logcat。最好创建一个新的模拟器并重新启动adb。我希望这可能会有所帮助
答案 1 :(得分:3)
擦拭SD卡......&杀死任务管理器中的adb进程并重新启动它,重启eclipse以及尝试,它将
答案 2 :(得分:2)
我遇到了同样的问题。我刚刚重启,即重新启动Eclipse并重新创建Android SDK。
对我来说很好。希望它对你也有帮助。