且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Crosswalk 使 Visual Studio Android Emulator 崩溃

更新时间:2023-12-06 14:09:04

现在是 2016 年,它仍然是一个众所周知的问题,所以这个库似乎仍处于 x86 模拟器的测试阶段.请记住,这个问题确实是模拟器唯一的问题.在真正的 (ARM) android 手机上,crosswalk 应用程序会运行得很好.解决方案之一确实是将模拟器切换为使用 ARM 映像(而不是基于 x86 Atom.您可能会失去一些加速)有趣的是,在 MacOSX 上运行 Android 模拟器适用于所有图像并且不会崩溃.在 Windows 和 Linux 上,它仍然会使模拟器崩溃,但还有另一种解决方法.切换到旧的人行横道图书馆:科尔多瓦插件添加科尔多瓦插件-crosswalk-webview --variable XWALK_VERSION="org.xwalk:xwalk_core_library:15+"(我希望对你来说还不算太晚).

its 2016 now and its still a well known issue so it seems this library is still in its beta phase for x86 emulator. bare in mind that this issue is indeed an emulator only issue. on a real (ARM) android phone the crosswalk app will run just fine. One of the solutions is indeed to switch the emulator to use an ARM image (rather than x86 Atom based. you might loose some acceleration) The funny thing is that running the Android emulator on MacOSX works well on all images and doesn't crash. On Windows and Linux it still crashes the emulator but there is another workaround. switch to older crosswalk library: cordova plugin add cordova-plugin-crosswalk-webview --variable XWALK_VERSION="org.xwalk:xwalk_core_library:15+" (I hope its not too late for you).