Hello
While running your app, use the Android Studio Logcat to look for any error message in the log. One possible reason for this error is a communication failure between your device and the server.
You can also generate the custom developer app launcher (a custom Make it Native) and run your app pointing to the localhost. In case of success, the reason commented above gets more feasible.