NativeScript / nativescript-dev-webpack

A package to help with webpacking NativeScript apps.
Apache License 2.0
97 stars 49 forks source link

Unable to generate snapshot for x86_64 architecture #1030

Closed rosen-vladimirov closed 5 years ago

rosen-vladimirov commented 5 years ago

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):

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 commented 5 years ago

Acceptance criteria: