How to set ADT system property in eclipse so it always runs

你。 提交于 2019-12-21 23:10:46

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/17797397/how-to-set-adt-system-property-in-eclipse-so-it-always-runs

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