问题描述:
使用ionic serve
在浏览器上运行app没有问题,但是android真机运行报错
the connection to the server was unsuccessful(file ///android_asset/www/index.html)
解决方法:
在config.xml
添加<preference name="loadUrlTimeoutValue" value="700000"/>
转自:https://blog.csdn.net/Lc_style/article/details/80350395