问题描述
我有兴趣运行
adb shell setprop log.tag.Volley VERBOSE
在任何时候,我可以看到总是看到这些调试消息在logcat内。有什么地方我可以指定这个吗?我不想每次打开命令提示符来设置这个。
使我的评论清晰可见,因为答案:
使用领先单词持久化。
在您的包之前应该导致持久的属性。
adb shell setprop persist.your.package.name VERBOSE
来源:和
我不知道,如果这适用于重新启动的AVDs,如果它与avd的擦除用户数据一起擦除。 / p>
I am interested in running
adb shell setprop log.tag.Volley VERBOSE
at all times so i can see always see these debug messages inside logcat. Is there somewhere I can perm specify this? I don't want to open a command prompt every time to set this.
to make my comment clear and visible as answer:
using leading word persist.
prior to your package should lead to a persistent property.
adb shell setprop persist.your.package.name VERBOSE
sources: question in this post and Mike Lockwoods first answer in this thread
i don't know, if this works with AVDs that are restarted and if it's wiped together with the wipe user data of the avd.
这篇关于如何在eclipse中设置ADT系统属性,以便它始终运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!