Android ADT v14 用于 eclipse 覆盖自定义过滤器

发布于 2024-12-11 08:57:55 字数 162 浏览 0 评论 0 原文

新的 Android ADT for Eclipse 看起来棒极了,因为我在那里删除了相当多的数据,所以我很高兴创建了相当多的新过滤器。

问题是,当应用程序运行时,我尝试选择一个自定义过滤器,左侧的选择立即更改为“(会话过滤器)”,并且内容会相应修改。

有人知道如何覆盖这个吗?

The new Android ADT for Eclipse seemed awesome and since I am dropping quite some data there I was pleased to create quite a few new filters.

The problem is that while the application is running and I try to select one of my custom filters the selection on the left is immediately changed to a "(Session Filter)" and content is modified accordingly.

Anyone knows how to override this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

风筝在阴天搁浅。 2024-12-18 08:57:55

我不知道有什么方法可以停用自动会话过滤器,但它看起来确实有问题,即使在 r15 中也是如此。我有相反的问题...我似乎无法让自动会话过滤器始终如一地出现,尽管过了一会儿它最终自发出现(这可能是在给定会话中多次运行我的项目之后,但它似乎坚持了下来)一旦它出现......至少它在r14中出现......它在r15中还没有对我起作用,但我刚刚更新)。

实际上,我认为毕竟找到了一种方法!在窗口 ->偏好->安卓-> LogCat,如果您选中“显示 logcat 视图...”,这似乎是允许 LogCat 创建自动会话过滤器的原因。

问题是,还有其他错误,将其关闭往往会拧紧您已激活的 LogCat 过滤器的自动滚动功能。

不管怎样,改变这个设置看看是否有帮助!

编辑:其他需要考虑的是使用 Window ->显示视图->其他->安卓-> Logcat(已弃用)(但谁知道它会存在多久?)找到该信息 在此错误报告中(这是我之前链接到的报告之类的报告的合并位置)。 (这可能对您来说不是很有用,因为您喜欢新的自动过滤器,但它可能对阅读本文的其他人有用。)

I'm not aware of any way to deactivate the automatic session filter, but it does seem buggy, even in r15. I have the opposite problem... I can't seem to get the automatic session filter to appear consistently, though after a while it finally spontaneously appears (this can be after running my project many times in a given session but it seems to stick around once it appears... at least it did in r14... it hasn't worked for me yet in r15 but I just updated).

Actually, I think found a way after all! In Window -> Preference -> Android -> LogCat, if you check "Display logcat view..." it seems to be what allows LogCat to create the automatic session filter.

Problem is, that has other bugs, and turning it off tends to screw with the autoscroll of the LogCat filter you have active.

Anyway, change that setting and see if it helps!

Edit: Something else to consider is using Window -> Show View -> Other -> Android -> Logcat (deprecated) (but who knows how long that'll be around?) Found that info in this bug report (which is where reports like the one I linked to earlier were consolidated to). (That's probably not very useful to you since you like the new auto filter, but it might be useful to others reading this.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文