Unable to generate snapshot for x86_64 architecture #1030
Description
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.
Sample project
Additional context