简体   繁体   English

在设备上运行ionic 2应用程序时出现白屏

[英]white screen when running ionic 2 app on device

When I run my test app on my Android device, I always see a white screen and app does not execute further. 当我在Android设备上运行测试应用程序时,总是看到白屏,并且该应用程序无法进一步执行。 I used ionic run android --device on CLI to run the app. 我在CLI上使用ionic run android --device来运行该应用程序。

Further to see which error stops the app from showing up, I used ionic run android --device -l -c . 为了进一步查看哪个错误阻止该应用程序显示,我使用了ionic run android --device -l -c When app runs with this command, I see this error coming up OBJECT[OBJ GLOBAL] has no method '__zone_symbol_requestAnimationFrame' Currently I am running my app on a phone with Android version 4.2.2. 当应用程序使用此命令运行时,我看到此错误即将出现OBJECT[OBJ GLOBAL] has no method '__zone_symbol_requestAnimationFrame'当前,我正在使用Android 4.2.2版的手机运行我的应用程序。 Any idea as to why this kind of error is showing up? 是否知道为什么会出现这种错误? Any help will be highly appreciated. 任何帮助将不胜感激。

如果您使用的是4.2版本,请使用crosswalk插件。Ionic2的最低版本支持为4.4及更高版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Android 运行离子电容时白屏 运行SSL - Android white screen when running ionic capacitor run with SSL 从 ionic 转换为 IOS 或 Android 时,应用程序显示白屏 - App shows white screen when converting from ionic to IOS or Android Ionic 6 / Angular 14 应用程序在 Android 6.1 非 GMS 设备上出现白屏 - White Screen on Ionic 6 / Angular 14 app on Android 6.1 non-GMS device Ionic 4 Angular App适用于ionics,但在为浏览器白屏死亡时构建 - Ionic 4 Angular App works on ionic s but when building for browser white screen of death 使用“ –prod”版本运行时,离子应用程序在启动屏幕上停止 - Ionic app halts at splash screen when running with ‘–prod’ build Ionic 5 应用程序在启动画面后卡在白屏上 - Ionic 5 app stuck on white screen after splash screen 离子livereload白屏 - Ionic livereload white screen 离子 cordova 应用程序构建为 android 应用程序包在安装 admob-plus-cordova 插件时不起作用 [显示白屏] - Ionic cordova app built as android app bundle doesn't work [Shows white screen] when admob-plus-cordova plugin is installed 如何解决Ionic2应用程序中的空白白屏错误? - How to resolve a blank white screen error in Ionic2 app? 离子电容器应用程序在 ios 中仅显示白色空白屏幕 - Ionic capacitor app shows only white blank screen in ios
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM