如何在Eclipse ADT设置系统属性,因此它始终运行 [英] How to set ADT system property in eclipse so it always runs

查看:222
本文介绍了如何在Eclipse ADT设置系统属性,因此它始终运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我感兴趣的运行

  adb shell setprop log.tag.Volley VERBOSE 

在任何时候都这样我就可以看到总能看到里面的logcat这些调试信息。有没有什么地方我可以烫发指定此?我不希望每一个来设置这个时候打开命令提示符窗口。

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

来源:<一href="http://stackoverflow.com/questions/16440945/android-system-properties-unsetting-them-on-the-command-line">question在这个岗位和麦克Lockwoods在这个线程第一个答案

我不知道,这是否与正在重新启动,AVDS,如果它的AVD的擦除用户数据抹去了一起。

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设置系统属性,因此它始终运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆