Ionic App 启动时报Application Error - The connection to the server was unsuccessful

登山则情满于山,观海则意溢于海。这篇文章主要讲述Ionic App 启动时报Application Error - The connection to the server was unsuccessful相关的知识,希望能为你提供帮助。
最近在更新App的时候,发现在华为手机上报这个错误,有点困惑,查找资料分析,大概原因是程序在加载index.html网页时,加载的资源过多,造成时间超时,
这个时原因分析https://stackoverflow.com/questions/12319809/application-error-the-connection-to-the-server-was-unsuccessful-file-andr
具体的解决方案是在config.xml文件中添加如下延时设置:

< !--解决程序启动问题:Application Error - The connection to the server was unsuccessful--> < preference name="loadUrlTimeoutValue" value="https://www.songbingjia.com/android/700000" />

【Ionic App 启动时报Application Error - The connection to the server was unsuccessful】
Ionic App 启动时报Application Error - The connection to the server was unsuccessful

文章图片


    推荐阅读