Im working with ionic version 2.2.3, the android application show this message in alert when the app starts.
The connection to the server was unsuccessful (file:///android_asset/www/index.html)
I tried to change this property in config.xml
<preference name="loadUrlTimeoutValue" value="90000" />
I tried adding this line in MainActivity,java too
And tried create new html file (main.html) with index.html content, and replacing the content in index.html, with window.relocation to main.html
In any case I got the same results,
Can anyone help me please?
Cordova CLI: 6.4.0
Ionic Framework Version: 2.3.0
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.1.4
Android installed platform 6.0.0