Android: Increase adb debug timeout in android studio

11.4k views Asked by At

Application gets closed when I am debugging the app in Android Studio.

Actually, I am facing an issue when I am doing debug to my android app in Android Studio. Application is getting close at some of the breakpoint execution. These app close breakpoints are not same every time. App debug mode is not happening more than 2 minutes, after a time period ADB debug connection finish.

I don't know this is due to the ADB connection timeout problem or something else?

I found this link Increase Android Emulator Timeout time for the Eclipse but nothing for Android Studio.

Any suggestion will be appreciated.

1

There are 1 answers

5
Parth Patel On

Emulator Set timeout value:

enter image description here

First Open Android Studio You have to move in File -> Setting Then Click on Task option from the vertical-left sidebar. Then the Connection timeout option should be there. In textbox you can specify your value in milliseconds. By default it 5000 milliseconds but you can changed it.