Hi guys,
Im working with ionic version 2.2.3, the android application show this message in alert when the app starts.
Application Error
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
super.setIntegerProperty(“loadUrlTimeoutValue”, 90000)
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?
Ionic info
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