Skip to content Skip to sidebar Skip to footer

Android Studio Debugger Process Finished With Exit Code 127

Recently upgraded to Android Studio 4.2.1 I can launch my app successfully but when I try to attach the debugger I get the error in the question title (see screenshot below). The a

Solution 1:

I've solved that by installing 'libncurses5' and 'ia32-libs' packages

This is a known issue and is provided on the android developer's official page. Here is the link https://developer.android.com/studio/known-issues?hl=de#native_debugger_crashes_with_debugger_process_finished_with_exit_code_127

It turns out it's a Linux-specific issue and is because Linux uses upgraded 'libncurses6' and android studio uses 'libncurses5' required to run the debugger.

Solution 2:

I've solved this by installing 'libncurses5' only

sudo apt install libncurses5

Thanks to Max Elkin

Solution 3:

I eventually solved this by rolling back to Android Studio 4.1.

Solution 4:

I rolled back AS from 4.2 to 4.1.3 which solved the error

Post a Comment for "Android Studio Debugger Process Finished With Exit Code 127"