[英]cordova crashes after adding cordova-plugin-crosswalk-webview
I did the following:我做了以下事情:
ionic start testproject tabs
cd testproject
ionic setup sass
ionic platform add android
ionic build
ionic run android
And it works, runs great on the emulator.它有效,在模拟器上运行良好。
And then I did:然后我做了:
ionic start testproject2 tabs
cd testproject2
ionic setup sass
ionic platform add android
ionic plugin add cordova-plugin-crosswalk-webview
ionic build
ionic run android
And then it crashes.然后它崩溃了。
My specs:我的规格:
Emulator: Genymotion, Custom Phone 5.0.0 - API 21
Cordova: Checked on 6.1 and 5.4.1
ionic: 1.7.14
cordova-plugin-crosswalk-webview: 1.6.1
The root config.xml template includes the following reference:根 config.xml 模板包括以下参考:
<preference name="xwalkVersion" value="17+" />
Delete it, and do a:删除它,然后执行:
cordova build android
That should get it running那应该让它运行
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.