Ionic 2 在 android 4.2 设备中显示白屏

Ionic 2 shows me white screen in android 4.2 devices

我很好奇如何才能在 Android Jellybean 设备上 运行 我的 Ionic 2 项目。该应用程序 运行 在 KitKat 到 Nougat OS 设备中运行良好,但在 Jellybean 中,它仅显示白屏。有什么方法可以使我的 Ionic 2 项目与 Android 4.2 (Jellybean) 设备兼容?提前谢谢你。

您可以使用Crosswalk

Why should I use Crosswalk?

Older versions of Android devices (4.0-4.3) use Android’s default browser, which has significantly less performance and standards compliance than modern Chrome. Using Crosswalk gives you a specific and more performant version of Chrome to use on all Android devices, in order to reduce fluctuations and fragmentation among devices.

How does Crosswalk improve Cordova Android apps?

By designating a specific version of Chrome, you can skip the unexpected behavior from browsers that vary from device to device. Crosswalk also provides improved performance and ease of debugging.

What can I expect, performance and size-wise?

In older Android Devices (4.0-4.3), you’ll see about a 10x improvement of both HTML/CSS rendering and JavaScript performance and CSS correctness. To bundle Chrome, you will see a small (~10-15MB) size increase in your Android Apps.

关于人行横道的更多信息https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview