How to specify --key-store-* when building release apk


When producing a release build, you need to specify all --key-store-* options.

build android


Hey @Emeka

Just as the help message states, you need to provide all --key-store-* options, just as you would when building a non-NativeScript Android project in release configuration. Here’s what a sample tns build --release would look like:

tns build android --release --key-store-path "D:\work\MyApp\config\debug.keystore" --key-store-password android --key-store-alias androiddebugkey --key-store-alias-password android

This article on the Android Docs also explains in short how you can generate your own key to sign your applications with: