Platform-Knowledge-Base/troubleshooting/troubleshooting-android-bui...

1.7 KiB

title: {{site.ab}} Cloud Builds Cannot Produce x86 Android Packages description: APK files that have native code cannot be deployed on Android devices and emulators that use x86 CPU ABI. type: troubleshooting page_title: Only ARMv7a Architecture APK Files are Produced During Build slug: android-building-to-x86 position: tags: appbuilder, build, cordova teampulseid: 307650 ticketid: 1060943, 1071643, 1062263, 1049366 pitsid:

Environment

Service {{site.ab-s}} ({{site.ab}})
Mobile development type Hybrid ({{site.ac}} app)
Mobile OS Android

Description

{{site.tp}} applications with plugins that have native code, such as Crosswalk, Couchbase-Lite and others, cannot be deployed on Android devices and emulators that use x86 CPU architecture.

Cause

At this stage {{site.ab}} produces only ARMv7a versions of the built applications.

Solution

{% include /_troubleshooting/no-solution-available.html %}

Suggested Workarounds

  1. Download the Archs Cordova plguin from GitHub as a ZIP file.
  2. Import it as a custom plugin to your project.
  3. Rebuild the application.

Now you should be able to deploy your project to Android devices and emulators which use x86 CPU ABI.

Notes

The {{site.tp}} team is working on a fix for this issue. It will be included in a future {{site.tab}} release.