Ionic2部署Android 4.2.2时出现白屏错误:严格使用const [英] Ionic2 White screen error on deploy Android 4.2.2: Use of const in strict mode
本文介绍了Ionic2部署Android 4.2.2时出现白屏错误:严格使用const的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以使用 Android
4.1.1 , 4.2.2 部署到真实设备和模拟器, 4.4.2 。
i can deploy to a real device and to a emulator using Android
4.1.1, 4.2.2, 4.4.2.
但它总是显示一个白色屏幕,在控制台中我可以看到错误未捕获SyntaxError在严格模式下使用const。
But it always shows a white screen and in the console I can see the error Uncaught SyntaxError Use of const in strict mode.
这个是项目,我的系统信息是:
This is project and my system info is:
Cordova CLI: You have been opted out of telemetry. To change this, run: cordova telemetry on.
6.3.1
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.11
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
ios-deploy version: 1.4.0
ios-sim version: 3.1.1
OS: Mac OS X El Capitan
Node Version: v6.3.1
Xcode version: Xcode 7.3.1 Build version 7D1014
- https://github.com/driftyco/ionic/issues/8328
- https://github.com/driftyco/ionic/issues/8328
- 离子平台添加浏览器
- 离子版浏览器
- 离子插件添加cordova-plugin-crosswalk-webview
- 从旧的应用程序中删除设备
- 离子版本
- 离子运行android
- ionic platform add browser
- ionic build browser
- ionic plugin add cordova-plugin-crosswalk-webview
- Remove the old app from the device
- ionic build
- ionic run android
推荐答案
可以做这个工作! =)
Could make that work!! =)
对于那些到达这里的人:
For those who get here:
正如我们所说的旧手机,不要忘了你在你的config.xml中有这样的东西。
As we are talking about old mobiles, dont forget you have that in your config.xml
< preference name =loadUrlTimeoutValue =60000/>
这篇关于Ionic2部署Android 4.2.2时出现白屏错误:严格使用const的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文