Skip to content

ANDROID_NDK_HOME is not respected on build --aab --env.compileSnapshot on Windows #5089

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
endarova opened this issue Oct 18, 2019 · 0 comments
Assignees
Labels
bug no-changelog The issue is present only in `next` versions and was not included in official version.

Comments

@endarova
Copy link
Contributor

Environment

  • CLI: nativescript@rc

Describe the bug
On windows when only ANDROID_NDK_HOME is set and executing: tns build android --release --key-store-path .... --key-store-password ... --key-store-alias ... --key-store-alias-password ... --env.snapshot --aab --env.compileSnapshot execution fails with error Android NDK v20.0.5594570 is not installed.

To Reproduce

  1. tns create my_app --js
  2. tns build android --release --key-store-path .... --key-store-password ... --key-store-alias ... --key-store-alias-password ... --env.snapshot --aab --env.compileSnapshot
    Result:
    ERROR in NativeScriptSnapshot. Snapshot generation failed! Android NDK v20.0.5594570 is not installed. Install it from Android Studio or download it and set ANDROID_NDK_HOME or add it to your PATH. You can find installation instructions in this article: https://developer.android.com/studio/projects/install-ndk#specific-version Executing webpack failed with exit code 2.

Expected behavior
The build should succeed

@endarova endarova added no-changelog The issue is present only in `next` versions and was not included in official version. bug labels Oct 18, 2019
@DimitarTachev DimitarTachev self-assigned this Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug no-changelog The issue is present only in `next` versions and was not included in official version.
Projects
None yet
Development

No branches or pull requests

2 participants