how to fix error: The connection to the server was unsuccessful. (file:///android_assets/www/index.html) ???
There are three methods:
open file config.xml and add this line:
<preference name="loadUrlTimeoutValue" value="700000" />
Rebuild app, now success.
open file config.xml and add these lines
<allow-navigation href="*" /> <content original-src="index.html" />
3.1 Rename your index.html to “main.html”
3.2 Create a new “index.html” and put the following content into it:
<!doctype html> <html> <head> <title>tittle</title> <script> window.location='./main.html'; </script> <body> </body> </html>
3.3 Rebuild your app! No more errors!
Recent search terms:
- the connection to the server was unsuccessful (file:///android_assets/www/index html)