Android Eclipse Logcat messages: How does ADT get the Application column?

那年仲夏 提交于 2019-12-04 18:51:39
android developer

i had about the same question on: https://stackoverflow.com/questions/10366709/android-using-logcat-in-the-command-line-application-info-exact-priority-f

i'm not sure how it works on eclipse , but you can have a workaround: take from the log which process id was started that matches the package name . the weird thing is that this might be the same way it works there , since for some log messages , eclipse doesn't show which application has written the log message. you might also be able to fetch the package name by pid , but i can't find out the method to do this.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!