Emulator Set Timeout Value:

First, open Android Studio.
You need to go to File → Settings.
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.
source
share