Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I fix "Could not connect to remote process" while trying to debug the application?

I am making a android studio project and I try to debug my application.

Running the application works fine, but when I try to debug it I get this error:

Could not connect to remote process. Aborting debug session.

What can I do to fix the issue?

like image 202
SAPHI Avatar asked Dec 28 '18 18:12

SAPHI


People also ask

Is waiting for the debugger?

Go to Settings > Developer options > Select debug app and choose your app from the list, then click Wait for debugger. Wait for the app to load and a dialog to appear telling you the app is waiting for a debugger.

How do I run a layout inspector?

To open the Layout Inspector, first launch your app on a connected device or emulator. Then open Android Monitor window, select your device and app process, and then click Layout Inspector . You can also open it by clicking Tools > Android > Layout Inspector in the menu bar.


1 Answers

You need to restart the ADB.

kill adb.exe process.

how to restart ADB manually from Android Studio

like image 144
Daniel B. Avatar answered Sep 28 '22 12:09

Daniel B.