Application Error - the Connection to the Server Was Unsuccessful. (File:///Android_Asset/Www/Index.Html)

How to fix the connection to the server was unsuccessful. (file ///android_asset/www/index.html)

Add <preference name="loadUrlTimeoutValue" value="60000" />
To config.xml

Application Error - The connection to the server was unsuccessful. (file://android_asset/www/index.html)

Found the solution. This error occurres even when for some reason Android uses as default WebView Chrome and avoid the Android default WebView, to solve this issue you can select the default WebView from the Deveoper options, in case the selection is locked you have to uninstall chrome or deactivate it.

The connection to the server was unsuccessful.(file:///android_asset/www/index.html)

I'm guessing its the port number your using. Have you tried using port 80 for your server rather than 8081? Its possible that port isn't open on your device.



Related Topics



Leave a reply



Submit