简体   繁体   English

未在logcat中获取日志

[英]Not getting Logs in logcat

In my application after a particular Activity the logcat stops working with the following Error message. 在我的应用程序中,执行特定活动后,logcat停止处理以下错误消息。 Segmentation fault logcat -v long 分段故障logcat -v long

After that i have to start the Emulator again then only it shows the logs. 之后,我必须再次启动模拟器,然后仅显示日志。

Can anyone pls help? 有人可以帮忙吗?

进入设备视图,单击转储hprof文件(对于eclipse菜单中的设备视图:window-> show view-> other-android-> devices)

This might work. 这可能有效。

Go to the DDMS perspective of eclipse. 转到DDMS Eclipse透视图。

In the devices panel, there is View menu(shown with down arrow) next to minize button. 在设备面板中,“缩小”按钮旁边有“查看”菜单(用向下箭头显示)。 When you click on view menu there is button to reset adb. 当您单击视图菜单时,有一个按钮可以重置adb。 Click on that. 点击那个。 It might fix the issues with the logcat. 它可能会解决logcat的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM