简体   繁体   English

新 logcat 中的“终止应用程序”按钮去哪儿了(Android Studio Dolphin 2022)

[英]Where has the "Terminate Application" button gone in the new logcat (Android Studio Dolphin 2022)

The current docs do not mention that this very important button has been removed. 当前文档没有提到这个非常重要的按钮已被删除。 I imagine it's to do with the way it's tracking processes differently now.我想这与它现在跟踪流程的方式不同有关。 Where is it?它在哪里? Do we have to kill processes ourselves via adb now?我们现在必须通过 adb 自己终止进程吗? Why has it moved?为什么它移动了? Why is no one talking about this?!为什么没人讨论这个?!

在此处输入图像描述

I've made bug report , we are also missing this feature.我已经做了错误报告,我们也缺少这个功能。 You can upvote the issue if you like or add more details.如果您愿意或添加更多详细信息,可以对该问题进行投票。

It's strange they forgot to include this feature in new logcat.奇怪的是他们忘了在新的 logcat 中包含这个功能。 For now you can switch back to the old logcat and you'll get back the option to "Terminate application"现在你可以切换回旧的 logcat,你会回到“终止应用程序”的选项

To disable new logcat: Go to preferences -> Select Experimental option -> Uncheck Enabled new logcat window要禁用新的 logcat:转到首选项 -> 选择实验选项 -> 取消选中已启用新的 logcat 窗口

Since Android Studio Flamingo, it can be found in "Device Explorer " tab in bottom right.从 Android Studio Flamingo 开始,它可以在右下角的“设备资源管理器”选项卡中找到。

Then there is "Processes" tab where you have the possibility to force stop process and to kill it.然后是“进程”选项卡,您可以在其中强制停止进程并终止它。

在此处输入图像描述

EDIT: However, according to this article , the behaviour differs from the Terminate button...编辑:但是,根据这篇文章,行为不同于终止按钮......

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM