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.
An adb device daemon runs on the device or emulator and provides a means for the adb host daemon to communicate with the device or emulator. JDWP debugger. The Dalvik VM (Virtual Machine) supports the JDWP protocol to allow debuggers to attach to a VM.
Enable adb debugging on your device To make it visible, go to Settings > About phone and tap Build number seven times. Return to the previous screen to find Developer options at the bottom. On some devices, the Developer options screen might be located or named differently.
Emulator Set timeout value:
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With