2
votes

I decided to implement crosswalk into my cordova application, after installing the plugin 3 files were generated:

  1. android-debug.apk - File I used to install, had this file before crosswalk plugin added
  2. android-x86-debug.apk - Generated after crosswalk plugin was added
  3. android-armv7-debug.apk - Generated after crosswalk plugin was added

The first file from the list above was at the original size(as it was before) so I assumed I should use x86 or armv7, well as I know x86 is a common architecture I started by using this version, after installed the application and open it up, I got a Crosswalk runtime library is not found popup that ask me to installed an extra application to be able to use Crosswalk, as I don't want my users to get this prompt with this extra application requirement I decided to use the armv7 version, surprisingly I didn't get the prompt and crosswalk was used by my application(btw the armv7 version is 3MB smaller than the x86 version).

Details:

  • I installed it on Android 4.4.4
  • Cordova version 5.4.1
  • Crosswalk version 1.4.0

My question:

Why this prompt is showing on x86 and not at armv7 and why it's architecture related(if it is)?

1

1 Answers

3
votes

Looks like you're using Crosswalk in "shared" mode, this is why you are getting that popup asking you to install Crosswalk runtime. In short, the Crosswalk runtime is not embedded with your app. It should not be architecture related. I would say that the problem is in configuration.

By the way, what do you use for making your application use Crosswalk WebView?