Adding android platform fails due crosswalk

Hello there. The problem is when I add crosswalk browser then adding android platform fails every time. I saw this problem everywhere: github, stackoverflow, forums here, etc., but I cannot find any working solution. This is the error:

ionic platform add android
Failed to install 'cordova-plugin-crosswalk-webview':CordovaError: Plugin doesn't support this project's cordova-android version. cordova-android: 3.7.1, failed version requirement: >=4
...
Plugin doesn't support this project's cordova-android version. cordova-android: 3.7.1, failed version requirement: >=4

Current ionic info:

OS: Mac OS X Yosemite
Node Version: v0.12.2
Cordova CLI: 4.3.0
Ionic Version: 1.0.0-rc.2
Ionic CLI Version: 1.3.19
Xcode version: Xcode 6.2 Build version 6C131e 
ios-sim version: 3.1.1 
ios-deploy version: Not installed

Crosswalk info:

cordova-plugin-crosswalk-webview 1.0.1-dev "Crosswalk WebView Engine"
crosswalk 12.41.296.5

Tried removing platforms/browsers/plugins or revreting to android default browser, but it didn’t help Maybe I’m missing something or doing something wrong? Thanks.

1 Like

I’ve met this problem but this was reproduced only I have old settings in folder with ionic project.
For example engine folder in root of project folder or added android platform.
Try make clean for project for all concerned Android platform.

1 Like

Thanks Serg, I think I’ve figured it out by adding Android platform from engine folder with ionic platform add ./engine/cordova-android-c0.6.1.

Hi! Try this command
"ionic browser revert android"
for return old Android platform.
And then, remove ./engine … then you can to try repeat to add crosswalk platform again in your project.