cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Bektchiev (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-12291) Cannot create APKs for 64-bit x86 and arm architectures
Date Thu, 29 Dec 2016 13:50:58 GMT

     [ https://issues.apache.org/jira/browse/CB-12291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Bektchiev updated CB-12291:
----------------------------------
    Description: 
There's no way to produce an APK for x86_64 or arm64 architectures.

Steps to reproduce:
1. Install https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin
2. Build for android using `--gradleArg=-PcdvBuildMultipleApks=true --gradleArg=-PcdvBuildArch=x86`
3. The resulting APK includes only lib/x86 .so files

$  unzip -t build/outputs/apk/test-x86-debug.apk


Expected: Both x86 and x86_64 directories should be included so that the package is runnable
on 64-bit and 32-bit devices

  was:
Native libraries for 64-bit architectures are not included in the APK as a result a x86 apk
is not runnable on a x86_64 device or emulator.

Steps to reproduce:
1. Install https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin
2. Build for android using `--gradleArg=-PcdvBuildMultipleApks=true --gradleArg=-PcdvBuildArch=x86`
3. Try to deploy and run on a x86_64 emulator

If you open list the contents of the .apk archive you will notice that under lib there's only
1 directory (x86):

$  unzip -t build/outputs/apk/test-x86-debug.apk

Expected: Both x86 and x86_64 directories should be included so that the package is runnable
on 64-bit and 32-bit devices


> Cannot create APKs for 64-bit x86 and arm architectures
> -------------------------------------------------------
>
>                 Key: CB-12291
>                 URL: https://issues.apache.org/jira/browse/CB-12291
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: Master
>            Reporter: Martin Bektchiev
>            Assignee: Martin Bektchiev
>              Labels: build, easyfix
>
> There's no way to produce an APK for x86_64 or arm64 architectures.
> Steps to reproduce:
> 1. Install https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin
> 2. Build for android using `--gradleArg=-PcdvBuildMultipleApks=true --gradleArg=-PcdvBuildArch=x86`
> 3. The resulting APK includes only lib/x86 .so files
> $  unzip -t build/outputs/apk/test-x86-debug.apk
> Expected: Both x86 and x86_64 directories should be included so that the package is runnable
on 64-bit and 32-bit devices



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message