ionic1或ionic2、3的安装与启动 Application Err错误

来源:互联网 发布:http jd2017b.123js 编辑:程序博客网 时间:2024/06/05 18:05

作者:LoveEmperor_王子様


错误如下:


解决办法:ionic1

1.在www文件下:

 将你的"index.html"改名为"main.html"; 创建一个新的"index.html",把下面的内容放到"index.html"中,  <script type="text/javascript">    window.location="./main.html";  </script>
添加main.html缓冲加载
然后运行看看。。。
ionic2、3解决:
1.在src文件下:
  1)将你的"index.html"改名为"main.html";  2)创建一个新的"index.html",把下面的内容放到"index.html"中,  <script type="text/javascript">    window.location="./main.html";  </script>
2.在www文件下:
  1)将你的"index.html"改名为"main.html";  2)创建一个新的"index.html",把下面的内容放到"index.html"中,  <script type="text/javascript">    window.location="./main.html";  </script>

config.xml里添加:
<preference name="loadUrlTimeoutValue" value="700000" />

原创粉丝点击