Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

ionic2

ionic3

I've added material icons to ionic2 app , and since then I get error ""The connection to the server was unsuccessful. (file:///android_asset/www/index.html)"" although the css and fonts file of MaterialIcons are in the assets folder (I've install it locally) there is no call to "https://fonts.googleapis.com/icon?family=Material+Icons" what can I do ? Can I fix it or know why the timeout suddenly .

like image 232
Haddar Macdasi Avatar asked Jan 05 '17 14:01

Haddar Macdasi


1 Answers

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

like image 57
Haddar Macdasi Avatar answered Sep 28 '22 16:09

Haddar Macdasi