Skip to content
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
1 task
rosen-vladimirov opened this issue Aug 20, 2019 · 1 comment
Closed
1 task

Unable to generate snapshot for x86_64 architecture #1030

rosen-vladimirov opened this issue Aug 20, 2019 · 1 comment
Assignees
Labels
Milestone

Comments

@rosen-vladimirov
Copy link
Contributor

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

@rosen-vladimirov rosen-vladimirov added this to the 1.1.1 milestone Aug 20, 2019
@rosen-vladimirov rosen-vladimirov self-assigned this Aug 20, 2019
@rosen-vladimirov
Copy link
Contributor Author

rosen-vladimirov commented Aug 20, 2019

Acceptance criteria:

  • 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
  • When using Android runtime 6.0.1 version and build with snapshot, 3 different snapshots should be produced (without ia64)
  • Application built with snapshot and runtime version 6.0.2 should run on the following devices and emulators:
    • x86 emualtors
    • x86_64 emulators
    • standard devices

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants