Android: increase adb debug time in android studio

The application closes when I debug the application in Android Studio.

In fact, I ran into a problem when debugging an Android application in Android Studio. The application is approaching some execution of a breakpoint. These close application breakpoints are not the same every time. Application debugging mode does not occur for more than 2 minutes after the end of the ADB debugging period.

I don’t know if this is due to an ADB connection timeout problem or something else?

I found this link Increase the wait time of the Android emulator for Eclipse, but nothing for Android Studio.

Any suggestion would be appreciated.

+4
source share
1 answer

Emulator Set Timeout Value:

enter image description here

First, open Android Studio. You need to go to FileSettings. Then click on the "Task" option from the vertical left side panel. Then there should be the Connection timeout option . In the text box, you can specify your value in milliseconds. By default, it is 5000 milliseconds , but you can change it.

+4
source

Source: https://habr.com/ru/post/1665685/


All Articles