14

I have added Crosswalk to a cordova project, it works ok. But I wanted to remove it to do some tests, but I can't find out how.

I tried to remove the following line

android.library.reference.2=org.apache.cordova.engine.crosswalk/xwalk_core_library

from the project.properties file but the build process crashes.

Any help? Didn't find it in the documentation.

Christian Benseler
  • 7,907
  • 8
  • 40
  • 71

4 Answers4

28
$ cordova plugin remove crosswalk-webview

is what worked for me

i also had to comment out the below line in platforms/android/project.properties

cordova.gradle.include.1=cordova-plugin-crosswalk-webview/v1-xwalk.gradle
Pradnyesh Sawant
  • 524
  • 5
  • 12
  • In my case it was `cordova plugin remove cordova-plugin-crosswalk-webview`; I also had to manually remove a folder with the same name from `./platforms/android/`. – JstnPwll Oct 19 '17 at 01:12
6

I am working with Ionic these days, which I guess it's the same case. Give this a try:

$ cordova browser revert android
# or
$ cordova browser remove crosswalk
appostolis
  • 2,294
  • 2
  • 13
  • 15
1

for ionic 4.x i used it

ionic cordova plugin remove crosswalk-webview
Ewertom Moraes
  • 121
  • 1
  • 4
0

to remove crosswalk for new versions of cordova or ionic please try the following

$ cordova plugin remove crosswalk-webview

and then

$ cordova platform remove android 
$ cordova platform add android