Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove Crosswalk from a Cordova project?

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.

like image 911
Christian Benseler Avatar asked Jan 22 '15 13:01

Christian Benseler


3 Answers

$ 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
like image 147
Pradnyesh Sawant Avatar answered Oct 23 '22 08:10

Pradnyesh Sawant


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
like image 25
appostolis Avatar answered Oct 23 '22 09:10

appostolis


for ionic 4.x i used it

ionic cordova plugin remove crosswalk-webview
like image 1
Ewertom Moraes Avatar answered Oct 23 '22 09:10

Ewertom Moraes