tommybond tommybond - 1 year ago 159
Android Question

Getting Crosswalk to work with Phonegap Build

I have a native app that I'm using Phonegap Build to compile. I am trying to use the

Crosswalk Webview
plugin in my app.

According to the official Phonegap blog, all plugins are now hosted on NPM. According to this blog post, plugins tagged
should work with Phonegap Build.

While trying to include the
(here), Phonegap Build fails with a very generic error message ("Oh geez. Your build failed. Sorry, but a problem occurred on the build server").

Has anyone else experienced this? Or has anyone else been able to get Crosswalk to work with Phonegap Build?

Answer Source

The official version in the PhoneGap Build curated plugins list will build for arm, though note that it is an older version. To use it:

<plugin name="org.crosswalk.engine" spec="1.3.0" source="pgb" />

for x86

<plugin name="org.crosswalk.engine.x86" spec="1.3.0" source="pgb" />

Alternatively This plugin allows you to build either the x86 version or the arm version in PGB.

<plugin name="cordova-plugin-crosswalk-webview" source="npm" />
<plugin name="cordova-build-architecture" spec="" source="git" />
<preference name="buildArchitecture" value="x86" />
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download