Search code examples
androidcordovabuildcrosswalk-runtimebuild-error

Error when building Cordova app using Crosswalk WebView plugin


When I try to build my Cordova app using Crosswalk WebView plugin I always get the following error:

1> :processArmv7DebugResources FAILED

And also:

You may not have the required environment or OS to build this project

I've opened Android SDK manager and I've the following SDKs already installed in my system: API Level 14, 15, 19 and 21.

Also, I've set minimum/target SDK version to 15.

Sadly, I can't figure out what's not being installed to fix the issue.

I'm using Cordova 5.1.1 and latest Crosswalk 1.2.0 plugin.

Also, I've tried to run cordova build android --debug to get any clue about what's missing in my development environment with no luck.


Solution

  • Finally it's some issue with current Crosswalk 1.2.0 (stable) and they're about to roll out 1.3.0 stable in the next days.

    For now, the issue can be fixed installing the plugin from GitHub directly:

    cordova plugin add https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview.git
    

    This way, the project compiles successfully!

    Reference (Crosswalk JIRA)