Remove Crosswalk fails

I’m trying to package my app with Ionic Pro’s package service and am running into an issue with the build on Ionic Pro.


Total time: 3 mins 4.775 secs
Built the following apk(s): 
Crosswalk info:
        After much discussion and analysis of the market,
        we have decided to discontinue support for Android 4.0 (ICS) in Crosswalk starting with version 20,
        so the minSdkVersion of Cordova project is configured to 16 by default. 

$ cordova build android --release -- --keystore=android.keystore --storePassword=***** --alias=my-app --password=***** success
Could not find android-release.apk in platforms/android/build/outputs/apk
This may be caused by using Crosswalk, which is not supported by Ionic Pro.
Running after script...
$ run "clean-up"
Running Stage clean-up for Job: 518....
ERROR: Job failed: exit status 1

The build is failing and the CLI tells me it’s most likely because Ionic Pro doesn’t support Crosswalk. So I’m trying to remove crosswalk…

cordova plugin rm cordova-plugin-crosswalk-webview

However, I then receive this error

Uninstalling cordova-plugin-crosswalk-webview from android
Subproject Path: CordovaLib
Uninstalling cordova-plugin-crosswalk-webview from browser
Unable to load PlatformApi from platform. Error: Cannot find module '/Users/wt/Sites/myapp/platforms/browser/cordova/Api.js'
Error: Unhandled "error" event. (The platform "browser" does not appear to be a valid cordova platform. It is missing API.js. browser not supported.)

I’m unsure about how to resolve this.

This solved it

ionic cordova platform rm browser
ionic cordova platform add browser
cordova plugin rm cordova-plugin-crosswalk-webview