我的 Android ADV 中发生未处理的 win32 异常
帮助!
每次我从 Android AVD 运行任何设备时,它都会崩溃,然后 Visual Studio ?启动并给出以下消息。
发生未处理的 win32 异常 在模拟器.exe中
控制台上出现以下消息
[2011-03-18 16:10:16 - Logcat]device not found
com.android.ddmlib.AdbCommandRejectedException:未找到设备 在 com.android.ddmlib.AdbHelper.setDevice(AdbHelper.java:736) 在 com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:373) 在 com.android.ddmlib.Device.executeShellCommand(Device.java:284) 在 com.android.ddmuilib.logcat.LogPanel$3.run(LogPanel.java:527)
loGcAT 指出这些错误,我不确定它可以帮助:
System(50): Failure running core service 系统(50):启动核心服务失败 系统(50):位于 android.os.BinderProxy.transact(本机方法) 系统(50):在 android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146) 系统(50):在 android.os.ServiceManager.addService(ServiceManager.java:72) 系统(50):在com.android.server.ServerThread.run(SystemServer.java:162) AndroidRuntime(50): 崩溃日志被跳过,没有签入服务
所有设备都会发生这种情况,我无法获取更多信息,Eclipse 不会返回任何信息。
我真的不知道该怎么办。帮助!
Help!
Every time I run any device from Android AVD it crashes, then the Visual Studio ? starts and gives the followed message.
A unhandled win32 Exception occurred
in emulator.exe
followed message appears on Console
[2011-03-18 16:10:16 - Logcat]device not found
com.android.ddmlib.AdbCommandRejectedException: device not found
at com.android.ddmlib.AdbHelper.setDevice(AdbHelper.java:736)
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:373)
at com.android.ddmlib.Device.executeShellCommand(Device.java:284)
at com.android.ddmuilib.logcat.LogPanel$3.run(LogPanel.java:527)
the loGcAT point these Error, I'm not sure it can help:
System(50): Failure starting core service
System(50): Failure starting core service
System(50): at android.os.BinderProxy.transact(Native Method)
System(50): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
System(50): at android.os.ServiceManager.addService(ServiceManager.java:72)
System(50): at com.android.server.ServerThread.run(SystemServer.java:162)
AndroidRuntime(50): Crash logging skipped, no checkin service
It happens whith all devices and I can't get more information, Eclipse don't returns any.
I realy dont know what to do. Help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我昨天也遇到了同样的问题。我通过卸载 Android SDK 并重新安装来解决这个问题。
我不知道是什么导致了这个问题,而且我现在不想尝试重现它,但我知道这 2 个安装之间有 2 个差异:
1)我第一次直接进入“可用包”中的AVD管理器并在那里进行了一些更新。在“第三方附加组件”中,有一些可用的软件包在安装后和“刷新”后仍然存在。这让我很困惑,并让我尝试了几次。因此我做了一些冗余安装,这可能会造成一些麻烦。
2)第一次我使用.exe文件进行安装,第二次安装时我下载了.zip文件。可能这与错误无关。
希望这对您有帮助!这确实是一个烦人的问题。
I hade the same issue yesterday. I managed to fix this by uninstalling the Android SDK and re-install it.
I don't know what caused the issue, and I don't want to try to reproduce it now, but I know of 2 differences between the 2 installations:
1) The first time I went directry to the AVD manager in the "Available packages" and made some updates there. In the "Third party Add-ons" there were some available packages that were still there after the installation and after "Refresh". This puzzled me and made me try a couple of times. Therefore I made a couple of redundant installations, and this may have caused some trouble.
2) The first time I used the .exe file to make the installation, while I downloaded the .zip-file for the second installation. Probably this has nothing to do with the error.
Hope this helps you! It really is an annoying problem.