1

I use the Crosswalk runtime to build a Crosswalk Cordova App for Android

How can I update such an app to a new version of crosswalk?

Michael
  • 32,527
  • 49
  • 210
  • 370

2 Answers2

0

Downloading the new crosswalk project manager (or whatever the official name is) contains not only a create script, but also an update script.

> update
Usage: update <path_to_project> [--shared]
    --shared will use the CordovaLib project directly instead of making a copy.

Can't say over how many versions this works, but at least in my most recent attempt it worked quite neatly.

David Mulder
  • 26,123
  • 9
  • 51
  • 114
0

Assuming you have not modified Crosswalk or Cordova directly i.e. are using the CordovaLib as a Library Project and not modified it directly, then...

The framework folder that is inside the download from the CrossWalk website contains the Cordova Android project (the "framework" folder). Inside this project is another project, the xwalk_core_library project. You should be able to just swap these two folders with your current versions.

Lastly you will need to import the cordova.js into your app project.

Daniel Maclean
  • 779
  • 10
  • 21