Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Unable to generate snapshot for x86_64 architecture #1030

Closed
@rosen-vladimirov

Description

@rosen-vladimirov

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

  1. tns create app1 --js
  2. cd app1
  3. tns platform add android@rc
  4. 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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions