问题
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