Please help me ionic connection unsuccessful

I create project (“ionic start aaaa tabs”) and
I test simulator iOS and android it work.
I test device iOS it work but I test device android it not work. I test "ionic cordova run android --device " it open application and load screen intro and black screen 3-5 sec. and white screen long time and show message from photo. I don’t edit code after create ionic.

I fix basic in config.xml, I add inside platform android not work

android device Samsung Galaxy S3 4.3

What device are you testing on?

@frankenly I think that issue is related to some timeout (because the app takes too long to start). Sometimes I come across that error too.

You can try to change your timeout preference in config.xml:

<preference name="loadUrlTimeoutValue" value="700000" />

See more about it in the link below (it’s ionic-v1, but the problem should be the same):

1 Like