Publishing your application
On Android, you need to build the application using nativescript build android --release --key-store-path=<yourfile> --key-store-password=<your password> --key-store-alias=<alias> --key-store-alias-password=<password>
. This will build you a release version of your APK. The APK's location is going to be in your applications/platforms/Android/build/outputs/APKs
. Make sure you do not take your debug
package, as it will be rejected by all the app stores. You need a key to sign your application so that Google (and others) knows that this application is from you and only from you.
Note
To create a keystore, you can use the keytool
program that comes with the Android SDK. The
keytool
program allows you to create, edit, and delete keys inside the store file. However, there is a cross-platform open source project at http://keystore-explorer.sourceforge.net/, which is a graphic user interface to edit and create your keystore.
Once you have built your...