Where has the "Terminate Application" button gone in the new logcat (Android Studio Dolphin 2022)
Asked Answered
T

5

28

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? Why has it moved? Why is no one talking about this?!

enter image description here

Tetanize answered 29/9, 2022 at 16:6 Comment(2)
Yes, why is no one talking about this? I use this button all the time. Sigh.Berkeleian
The fact that no one is asking this and still not yet fixed may show how many of Android developers does not know what is this for and how important this tool was for testing the stability of an Android app.Wynd
C
25

I've made bug report, we are also missing this feature. You can upvote the issue if you like or add more details.

Cwm answered 30/9, 2022 at 10:5 Comment(1)
Thanks, I don't understand why this is not a big issue, I must be doing something very wrong :)Tetanize
T
19

With Android Studio Giraffe if you make a right click over the log in the logcat window you can find a menu "Kill process". enter image description here

Tact answered 27/8, 2023 at 13:39 Comment(2)
yeah this was a welcome addition, now the question is if it can be buried in this context menu no one uses, why can it equally not be put back where it was?Tetanize
Thanks for pointing me right direction.Gasbag
C
9

It's strange they forgot to include this feature in new logcat. For now you can switch back to the old logcat and you'll get back the option to "Terminate application"

To disable new logcat: Go to preferences -> Select Experimental option -> Uncheck Enabled new logcat window

Cryan answered 13/10, 2022 at 11:52 Comment(0)
S
9

Since Android Studio Flamingo, it can be found in "Device Explorer" tab in bottom right.

Then there is "Processes" tab where you have the possibility to force stop process and to kill it.

enter image description here

EDIT: However, according to this article, the behaviour differs from the Terminate button...

Sinking answered 15/12, 2022 at 10:26 Comment(4)
I've left a comment on that article and I think the author might be mistaken. My guess is the "terminate application" button is replaced with the "kill process" button, but you must press the home button first, i.e the app can't be in the foreground. See hereTetanize
As far as I verified, I am confirming your guesses, just wanted to point out that this whole topic seems way too neglected and messed up in next Android Studio versions. This "Processes" tab seems very buggy (rarely detects proper Process Name in my case)Sinking
yeah I highly doubt I will willingly use the new logcat until they fix it, this aspect is a bit of a mess and surprisingly few seem to notice / careTetanize
I'm on Giraffe and the "kill process" button on the "Device Explorer" tab does exactly what the one in logcat used to doQulllon
P
0

If need Terminate Application button, based on what google supporst said you can have it back going Settings >> Experimental >> (and uncheck)Enable new Logcat tool window.

Pernik answered 21/2, 2023 at 6:59 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.