我是靠谱客的博主 顺利酒窝,这篇文章主要介绍解决ionic3 android 运行出现Application Error - The connection to the server was unsuccessful,现在分享给大家,希望可以做个参考。
在真机上启动ionic3打包成的android APK,启动了很久结果弹出这个问题:
Application Error - The connection to the server was unsuccessful
可能是我项目资源太多东西了,启动的时间太久了,导致超时了。
解决方案是在项目目录下的config.xml文件里添加这句,设置一个超时的时间,再重新编译启动,ok完美解决。
<preference name="loadUrlTimeoutValue" value="100000" />
最后
以上就是顺利酒窝最近收集整理的关于解决ionic3 android 运行出现Application Error - The connection to the server was unsuccessful的全部内容,更多相关解决ionic3内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复