Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
CLI: 6.0.3
Cross-platform modules: Not applicable
Android Runtime: 6.0.2 RC Version
iOS Runtime: Not applicable
Plugin(s): Not applicable
Node.js: 10.x.x
[ ] Please, attach your package.json and webpack.config.js as these configurations are usually critical for investigating issues with webpack
Describe the bug
Android runtime 6.0.2 includes x86_64 architecture, but when passing --env.snapshot there's no snapshot generation for this architecture.
To Reproduce
tns create app1 --js
cd app1
tns platform add android@rc
tns build android --env.snapshot --release --keyStorePath <path> ...
5 Check the generated snapshots in <project dir>/platforms/android/app/snapshot-build/build/snapshots/blobs - there should be 4 dirs, however they are 3.
Expected behavior
When using Android Runtime 6.0.2 or newer, snapshot should automatically use all supported architectures. If runtime version is below 6.0.2, snapshots should be generated only for the currently supported 3 architectures.
[x] When using Android runtime's RC version of 6.0.2 (or later) and build with snapshot, 4 different snapshots should be produced - for armv7, arm64 and ia32
[x] When using Android runtime 6.0.1 version and build with snapshot, 3 different snapshots should be produced (without ia64)
[x] Application built with snapshot and runtime version 6.0.2 should run on the following devices and emulators:
Environment Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):CLI: 6.0.3
Cross-platform modules: Not applicable
Android Runtime: 6.0.2 RC Version
iOS Runtime: Not applicable
Plugin(s): Not applicable
Node.js: 10.x.x
[ ] Please, attach your package.json and webpack.config.js as these configurations are usually critical for investigating issues with webpack
Describe the bug Android runtime 6.0.2 includes x86_64 architecture, but when passing
--env.snapshot
there's no snapshot generation for this architecture.To Reproduce
tns create app1 --js
cd app1
tns platform add android@rc
tns build android --env.snapshot --release --keyStorePath <path> ...
5 Check the generated snapshots in<project dir>/platforms/android/app/snapshot-build/build/snapshots/blobs
- there should be 4 dirs, however they are 3.Expected behavior When using Android Runtime 6.0.2 or newer, snapshot should automatically use all supported architectures. If runtime version is below 6.0.2, snapshots should be generated only for the currently supported 3 architectures.
Sample project
Additional context