Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mismatch of CPU Architecture for the Crosswalk using Cordova

Tags:

crosswalk

I have integrate crosswalk plugin in my Cordova application. When I publish this app to google play. I'm not able to open in my Asus gen phone 2 it throws following error

Error message:Mismatch of CPU Architecture for the Crosswalk

  • Cordova version - 6.0.0
  • Crosswalk Version - latest

Can any one help me for resolving this problem?

like image 218
Ravi Avatar asked Mar 04 '16 11:03

Ravi


People also ask

Can I use the Crosswalk Project in my Cordova app?

Fortunately, for those ones that want a functional solution, we recommend them to use the Crosswalk Project in their cordova apps. The Crosswalk Project is an open source, web application runtime built with the latest releases of Chromium and Blink from Google.

What are the core plugins in Apache Cordova?

Apache Cordova project maintains a set of plugins called the Core Plugins. These core plugins provide your application to access device capabilities such as battery, camera, contacts, etc. In addition to the core plugins, there are several third-party plugins which provide additional bindings to features not necessarily available on all platforms.

What is the Cordova CLI?

This workflow centers around the cordova CLI. The CLI is a high-level tool that allows you to build projects for many platforms at once, abstracting away much of the functionality of lower-level shell scripts.

When should I use Apache Cordova?

Use Apache Cordova if you are: a mobile developer and want to extend an application across more than one platform, without having to re-implement it with each platform's language and tool set. a web developer and want to deploy a web app that's packaged for distribution in various app store portals.


1 Answers

The Asus phones tend to use an Intel x86 chipset. When doing anything with native code, you need to account for the various chipsets used by devices. Crosswalk is built with native code. It sounds like you did not include builds for both the ARM and x86 chipsets to Google play.

The Cordava Crosswalk plugin out-of-the-box will give you 2 chipset builds, 1 for ARM and 1 for x86 CPU architectures. You should be uploading both APK output files to Google Play.

NOTE: Since Google play changed the max APK size from 50mb to 100mb, you now have the option of package both chipsets together. However, you may still want to consider having a separate build for each and uploading them separately.

like image 136
SBerg413 Avatar answered Nov 13 '22 03:11

SBerg413